-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Updates to github actions - warnings on action run #356
Comments
Hi @peterjgrainger |
Yeah, sure @shay-ul. Seems pretty straightforward |
@shay-ul released version I've added a new warning to stop using the set output, I'll remove this on the next major release of the action. |
@peterjgrainger I think that instead of removing the output from the action you can simply update @actions/core package to version 1.10.0. The set-output thing was fixed in this pull request. You'll still be able to use core.setOutput but it won't use the deprecated |
@phandrysik-fp what happens if someone is relying on the output? Is it a breaking change? |
That's precisely my point, I think that it's not a breaking change... I found more info on the topic here https://github.com/orgs/community/discussions/35994 |
Hey! I just started to use this action and saw the same problem. @peterjgrainger you don't need to switch to using environment variables, you can still use output; only Have a look here (bottom of the page): https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/#examples |
@peterjgrainger, it's not a breaking change. |
Yea, no need to mess around with ENV variables. Just update |
@kuhnroyal @secondmanveran see latest release v2.4.0. No warnings :) |
Thanks mate. |
Hi,
when running this action, Github Actions shows two errors:
Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16: peterjgrainger/action-create-branchShow less
The
set-output
command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/How to fix:
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
The text was updated successfully, but these errors were encountered: