I’m exploring creating actions for setting up tooling for my projects. One of the problems I’m facing is needing to know what os and os version the job is running on in order to download correct artifacts etc.
Ideally this should be exposed somewhere but so far I haven’t found any way of figuring this out in an action.
Right now as a workaround, I’m passing the same value that’s passed to jobs.<job_id>.runs-on as an argument to my actions but that isn’t really ideal…
Any suggestions would be greatly apreciated!