action-get-merged-pull-request icon indicating copy to clipboard operation
action-get-merged-pull-request copied to clipboard

Github issues warning regarding set-output when action is run

Open wpowell-bw opened this issue 1 year ago • 2 comments

What happened

Github workflow displays 5 warnings with the following information: Warning: 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/

What you expected to happen

No warnings should appear on successful run.

How to reproduce

Use actions-ecosystem/[email protected] in a workflow that runs when a Pull Request is merged.

How to resolve

Per the github blog:

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.

This will remove the warnings as shown above. Github has stated that non-updated actions will fail with an error as of ~1st June 2023~ a future date. #437 looks to be related to this issue.

Environment

Any

wpowell-bw avatar Mar 20 '23 18:03 wpowell-bw

@micnncim Allegedly, this is being deprecated soon. Any updates?

taylorsmithgg avatar Mar 30 '23 21:03 taylorsmithgg

Update from GH:

Our telemetry shows significant usage of these commands. Given the number of impacted customers we are postponing the removal.

I will continue to monitor GH communications and modify my report if they provide a new date

wpowell-bw avatar May 31 '23 14:05 wpowell-bw