Is there a way to set the version of a github action runner?
I'd like to set the version to v2.273.6 i.e. https://github.com/actions/runner/tree/v2.273.6 as they've deprecated the usage of set-env, which I'll refactor, but to get around this and allow my code to deploy in the mean time, I'd like to rollback the version.
Unfortunately, you cannot downgrade GitHub-hosted runner yourself. GitHub-hosted runners are maintained and updated automatically by GitHub. You can, however, set up your own self-hosted runner with a particular version and use it instead. Personally, I think refactoring to environment files instead of staying with the deprecated set-env workflow command is much less effort than setting up a self-hosted runner.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With