dawidd6 / action-ansible-playbook

:gear: A GitHub Action for running Ansible playbooks
MIT License
306 stars 68 forks source link

Deprecation of "save-state" and "set-output" #60

Closed ttunua closed 2 years ago

ttunua commented 2 years ago

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

dawidd6 commented 2 years ago

Could submit a PR for that?

ttunua commented 2 years ago

I could if I have time in the future.

I just don't have time at the moment to become familiar with what is needed since the change is significant. Looks like a bunch of remapping that would be simpler for the author/builder.

"Action authors who are using the toolkit should update the @actions/core package to v1.10.0 or greater to get the updated saveState and setOutput functions.

Action and workflow authors who are using save-state or set-output via stdout should update to use the new environment files."

dawidd6 commented 2 years ago

Done and released.