Is there a URL to download the latest release of GHA runner? #54078
-
Select Topic AreaQuestion BodyFor launching self-hosted runner we should download GHA runner tarball from https://github.com/actions/runner/releases. Is there a way to download the latest v2 release instead of updating download URL every few months? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
|
Yes, there is a URL that always points to the latest release of the self-hosted GitHub Actions runner. You can use the following URL to download the latest release tarball: https://github.com/actions/runner/releases/latest/download/actions-runner-linux-x64-.tar.gz Replace Keep in mind that using the |
Beta Was this translation helpful? Give feedback.
-
|
Did I misunderstand the directions? URL above doesn't seem to download latest. The directory resolved the latest version correctly, but the filename did not... |
Beta Was this translation helpful? Give feedback.
-
|
This little script worked for me, based on the latest directory redirecting: |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
Yes, there is a URL that always points to the latest release of the self-hosted GitHub Actions runner. You can use the following URL to download the latest release tarball: https://github.com/actions/runner/releases/latest/download/actions-runner-linux-x64-.tar.gz
Replace
<version>with the specific version of the runner you want to download (e.g.,v2.278.0), and the URL will always download the latest release of the runner with that version number.Keep in mind that using the
latesttag may not always be suitable for production environments, as new releases can potentially introduce breaking changes or bugs that may affect your workflows. So it's a good practice to test the latest releas…