Skip to content

Instantly share code, notes, and snippets.

@KyMidd
Last active August 31, 2021 20:54
Show Gist options
  • Save KyMidd/ae227841d94fada99fd254deeac72a3b to your computer and use it in GitHub Desktop.
Save KyMidd/ae227841d94fada99fd254deeac72a3b to your computer and use it in GitHub Desktop.
RUNNER_VERSION="${RUNNER_VERSION:-$(curl --silent "https://api.github.com/repos/actions/runner/releases/latest" | grep tag_name | sed -E 's/.*"v([^"]+)".*/\1/')}"
curl -O -L https://github.com/actions/runner/releases/download/v${RUNNER_VERSION}/actions-runner-linux-x64-${RUNNER_VERSION}.tar.gz
tar xzf ./actions-runner-linux-x64-${RUNNER_VERSION}.tar.gz
./bin/installdependencies.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment