Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Github Actions' set-output command is depreciated and will be disabled soon. #306

Closed
bsommardahl opened this issue Feb 12, 2023 · 3 comments

Comments

@bsommardahl
Copy link

bsommardahl commented Feb 12, 2023

I get a warning when running Github Actions builds using this action warning me about the use of set-output. The warning doesn't specify which action is offending, so I had to search my code and that of all the actions I am using. I found the following line in your codebase:

command_1.issueCommand('set-output', { name }, utils_1.toCommandValue(value));

Here's the exact warning I get:

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/

I'm assuming that line is what's causing Github to throw these warnings. If I'm right, it looks like your action could stop working when Github finally drops that code.

@kenfusion
Copy link

Maybe it's fixed soon? #252 (comment)

@austinvalle
Copy link
Member

This should be resolved from #247

Copy link

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants