ec2-github-runner
ec2-github-runner copied to clipboard
Use latest GitHub runner build
In current release you use runner version hardcoded in aws.js. And its version is older than latest. It'd be great to programmatically get the latest release for usage.
GitHub API gives us this information: curl -s -X GET 'https://api.github.com/repos/actions/runner/releases/latest'
It could be parsed directly, or with jq script or by octokit.
@snussik great that you brought up this topic! Thank you! 🙏 Will try to handle that soon.
Would it make sense to have a version fixed in our AMI instead? or maybe a download URI with a default? My organization is a bit wary about downloading things off of the web for every build. Maybe a separate enhancement?
Hello, is there some help wanted on this ?
I was just thinking this could be an action input parameter being either "latest" or a specific release version (for people wanting to freeze a certain runner version but not wanting to maintain an ec2 image and so reinstall each time)