Skip to content
This repository has been archived by the owner on May 5, 2024. It is now read-only.

set-output is deprecated #544

Closed
ldeluigi opened this issue Oct 12, 2022 · 5 comments · Fixed by #546
Closed

set-output is deprecated #544

ldeluigi opened this issue Oct 12, 2022 · 5 comments · Fixed by #546

Comments

@ldeluigi
Copy link
Contributor

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

You should move to the new syntax: https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#setting-an-output-parameter

Also I suggest to check out https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary which seems a cool new feature

@maggie44
Copy link
Contributor

This is untested, can you see if this fixes the issue? #546

@SimonLammer
Copy link

This is the concrete warning annotation shown in the workflow summary (when using @latest):

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/

@wiverson
Copy link

Not to be an alarmist or anything, but the GitHub post on this topic states:

We are monitoring telemetry for the usage of these commands and plan to fully disable them on 31st May 2023. Starting 1st June 2023 workflows using save-state or set-output commands via stdout will fail with an error.

That's not very far out - any news or updates?

@AngellusMortis
Copy link

It is now May and June is coming up fast. Has anyone forked and made a drop in replacement yet?

@gbakeman
Copy link

gbakeman commented May 3, 2023

As far as automatic releases are concerned, I've been using https://github.com/softprops/action-gh-release and pretty happy with that. I don't think it has automatic changelog generation though.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants