Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Specify runner version within github actions

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.

like image 428
steadweb Avatar asked Oct 31 '25 22:10

steadweb


1 Answers

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.

like image 129
Marcin Kłopotek Avatar answered Nov 04 '25 02:11

Marcin Kłopotek



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!