re-actors / alls-green

A check for whether the dependency jobs are all green.
https://github.com/marketplace/actions/alls-green
BSD 3-Clause "New" or "Revised" License
110 stars 12 forks source link

Deprecation warnings due to set-output #11

Closed hynek closed 1 year ago

hynek commented 1 year ago

GitHub has deprecated the set-output way, so I'm getting warnings in my workflows from alls-green.

Since they provided zero guidance how to fix it, I've written it down myself: https://hynek.me/til/set-output-deprecation-github-actions/

tldr: echo "::set-output name=KEY::VALUE"echo "KEY=VALUE" >>$GITHUB_OUTPUT

webknjaz commented 1 year ago

Yeah, I've been meaning to fix this. Thanks for the issue!

webknjaz commented 1 year ago

@hynek FYI the actual docs section describing this is https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#setting-an-output-parameter. Not sure why they didn't link it directly...

webknjaz commented 1 year ago

@hynek they've later updated the blog post to include the examples: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/#examples.

hynek commented 1 year ago

yeah they reached out to me