zachdaniel / git_ops

A tool for version and changelog management in Elixir via conventional commits.
MIT License
135 stars 24 forks source link

fix: Update deprecated `set-output` format for GitHub Actions to use environment variables #61

Closed sevenseacat closed 1 year ago

sevenseacat commented 1 year ago

See https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ for more details

Closes #60

(Note: I have merely proved it correct, not tried it)

Contributor checklist

sevenseacat commented 1 year ago

Actually... I think I need to try it because I'm not sure it will work right now

sevenseacat commented 1 year ago

So I think this is right now. According to the blog, we can write to the file in GITHUB_OUTPUT, with the format {key}={value} so that's what I've done. It works in my testing!

Screenshot 2023-06-21 at 1 50 33 pm