Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Pilot Lvl 1
Message 1 of 2

Add ImageOS companion to ImageVersion environment variable

This request is suggested as a means of simplifying the inputs needed to some actions.

 

In https://github.com/actions/virtual-environments/tags, new images are tagged as below:

win16/20200120.1
ubuntu18/20200119.1

 

ImageVersion is the second part of the tag.  Having the first part of the tag ('OS String') set to ImageOS would be helpful.  As to macOS, maybe just that?

 

One use is building separate packages/binaries for use on all platforms.  Obviously, one can use 'runs-on:' or '${{ matrix.os }}' as an action input, but having the image name as an env variable would be simpler...

1 Reply
Highlighted
GitHub Partner
Message 2 of 2

Re: Add ImageOS companion to ImageVersion environment variable

We really appreciate your suggestions. I would recommend you to share this feature request in the Feedback form for GitHub Actions. Thank you for helping us build a better Github Actions.