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

Fix warning due to depreceated set-ouput command #371

Closed
nidhinjose-git opened this issue Oct 31, 2022 · 5 comments
Closed

Fix warning due to depreceated set-ouput command #371

nidhinjose-git opened this issue Oct 31, 2022 · 5 comments

Comments

@nidhinjose-git
Copy link

Using this action gives the following warning:

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/

Log from the workflow:

...
2022-10-31 08:03:46 +0000 - publish -  INFO - Reading results.xml (1 file, 134 Bytes)
2022-10-31 08:03:46 +0000 - publish -  INFO - Available memory to read files: 4.8 GiB
2022-10-31 08:03:46 +0000 - publish -  INFO - Finished reading 1 files in 0.00 seconds
2022-10-31 08:03:47 +0000 - publish -  INFO - Publishing success results for commit 7929186550f9d0a97a634f001f1d7c33eee43d66
2022-10-31 08:03:48 +0000 - publish -  INFO - Created check https://github.com/levo/sensor/runs/9197099052
2022-10-31 08:03:48 +0000 - publish -  INFO - Created job summary
2022-10-31 08:03:54 +0000 - publish -  INFO - Edited comment for pull request #167: https://github.com/levo/sensor/pull/167#issuecomment-1295135596
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/

@EnricoMi
Copy link
Owner

This has been fixed with v2.1.0. Please upgrade or even better move to v2 to always use the latest v2.x.x release:

uses: EnricoMi/publish-unit-test-result-action@v2

@EnricoMi
Copy link
Owner

Fixed by #362.

@zingmane
Copy link

@EnricoMi
I just ran in this issue. Updating fixed it.
Readme docs should be updates as well, there is still v1 referenced.

@EnricoMi
Copy link
Owner

Can you provide a link, please?

@zingmane
Copy link

Now I was just about to pick it out, but it's already done 👍

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