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

The set-output command is deprecated #534

Closed
wlwyrick opened this issue Oct 12, 2022 · 4 comments · Fixed by #540
Closed

The set-output command is deprecated #534

wlwyrick opened this issue Oct 12, 2022 · 4 comments · Fixed by #540

Comments

@wlwyrick
Copy link

Describe the bug
When run, the following warning is received. Would you make the suggested change? Thanks!
"The set-output command is deprecated and will be disabled soon. Please upgrade to using Environment Files."

To Reproduce
Steps to reproduce the behavior:

  1. Run the action

Expected behavior
No warning.

Screenshots

Action Environment (please complete the following information):

  • OS: linux

Additional context

@robinraju
Copy link
Owner

@wlwyrick I couldn't reproduce the warning you've reported. Here is a recent run of this action: https://github.com/robinraju/release-downloader/actions/runs/3267845900/jobs/5373546975

Could you please add a screenshot or link to your failed run (if its public)

@wlwyrick
Copy link
Author

The repo is private, so I can't send a link.

image

I got this warning multiple times and replaced all the set-output commands in the workflow, but still got one remaining. Since the workflow only uses one action, I thought this was what was causing the warning.

If you don't use set-output, then it must be caused by something else.

@jonz94
Copy link
Contributor

jonz94 commented Oct 18, 2022

Hi there,

I made a minimal project to reproduce this issue. (https://github.com/jonz94/release-downloader-issue/actions/runs/3269517029/jobs/5377102326#step:3:16)

And I also found that the issue can be fixed by upgrading @actions/core package to latest v1.10.0 version.

@robinraju
Copy link
Owner

The pr from @jonz94 is merged. You may test it using the commit hash.

- uses: robinraju/release-downloader@62d3e983c99c16718304fb1a69553f01b84b0d40
  with:
    latest: true
    fileName: "foo.zip"

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

Successfully merging a pull request may close this issue.

3 participants