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

Warning about deprecate set-output command still visible in v1.0.8 #12

Closed
kimlep01 opened this issue Apr 13, 2023 · 2 comments
Closed

Comments

@kimlep01
Copy link

kimlep01 commented Apr 13, 2023

Hi, I updated my workflow to use v1.0.8 and I'm still seeing two warnings about set-output. I created a new issue because no one reacted to my earlier comment.

My repo:

Run joerick/[email protected]

Found label  do-not-merge 
  Setting env var for remaining steps: GITHUB_PR_LABEL_DO_NOT_MERGE=1

Action output:
labels: " do-not-merge "
labels-object: {"do-not-merge":true}
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/
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/

Latest PR check in this repo https://github.com/joerick/pr-labels-action/actions/runs/4469843040/jobs/7852529676:

Run ./
Not a pull request
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/[2](https://github.com/joerick/pr-labels-action/actions/runs/4469843040/jobs/7852529676#step:3:3)022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
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/

This will start failing soon on June 1st.

Originally posted by @kimlep01 in #9 (comment)

@kimlep01 kimlep01 changed the title Warning about deprecate set-output comand still visible in v1.0.8 Warning about deprecate set-output command still visible in v1.0.8 Apr 13, 2023
@alexciesielski
Copy link
Contributor

I opened this PR which should fix the deprecation warning.

@joerick
Copy link
Owner

joerick commented May 4, 2023

Fixed in v1.0.9 thanks to @alexciesielski !

@joerick joerick closed this as completed May 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants