jacobtomlinson / gha-anaconda-package-version

Get the latest version of an Anaconda package
MIT License
3 stars 4 forks source link

Fix deprecated warning about set-output #13

Closed consideRatio closed 2 weeks ago

consideRatio commented 6 months ago

Fixes #10, for notes on the transition see https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/.

In practice instead of printing stuff to stdout an action is instead to write to a file with a path specified via the environment variable GITHUB_OUTPUT.

consideRatio commented 6 months ago

Note that I've not tested this and hasn't written much Golang in my life, and when I have its small things like these. I note though that there are tests that should catch if the set output stuff stops working.

jacobtomlinson commented 2 weeks ago

Thanks for the effort here, appreciate it! I'm going through and cleaning things up and it's a little easier for me to do it from scratch. So this PR is superseded by #16.

consideRatio commented 2 weeks ago

Thanks for working this @jacobtomlinson!!