cgwalters / coretoolbox

"pet container" tool using podman
Apache License 2.0
24 stars 6 forks source link

Add github action to publish release artifacts #15

Open trown opened 4 years ago

trown commented 4 years ago

This adds an action which runs when a "v*" tag is pushed to the repo. This action does a basic release build on ubuntu-latest and then creates a release and uploads the release binary to that release.

trown commented 4 years ago

This is for https://github.com/cgwalters/coretoolbox/issues/14

Doing git tag v0.1.1 && git push origin v0.1.1 gives: https://github.com/trown/coretoolbox/releases/tag/v0.1.1

This could be easily expanded to build a few release binaries if there is demand for some particular arch.

Tangentially, I noticed they fixed artifact caching for rust recently: https://github.com/actions/cache/issues/133#issuecomment-628702753. I could add that to both of the rust CIs.