jbrunton / gflows

A CLI tool that makes templating GitHub Workflows easy
MIT License
30 stars 3 forks source link

Update to use new syntax for `::save-state` and `::set-output` commands #215

Open tdat00 opened 1 year ago

tdat00 commented 1 year ago

Hi @jbrunton, first thank you for this helpful library.

Github is deprecating ::save-state and ::set-output commands, and from Jun-2023, they will completly disable those commands. https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

Could you please help update gflows to use new syntax? Thank you in advanced.

BR.

jbrunton commented 1 year ago

Thanks for raising, I will look into this.

That said, since I wrote this library, GitHub has introduced features which I think provide easier alternatives to sharing workflows. See for example https://docs.github.com/en/actions/using-workflows/reusing-workflows. I'm curious if there are any use cases you have which can't be solved by GitHub reusable workflows and GitHub Actions in their present state?