chromaui/action github action gives deprecation warnings about set-output
See original GitHub issueIf I use the chromaui/action I get warnings from Github Actions:
storybook 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 am no expert in developing Github Actions, but hopefully this is helpful:
From looking at @actions/core
and this codebase, it seems like setOutput
effectively produces deprecated code. An alternative can be found here to set an environment variable. This env variable can be used similarly to how the output values are used.
Issue Analytics
- State:
- Created a year ago
- Reactions:4
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Deprecation warning for set-output command in GitHub Actions
Hello team, It appears that GitHub is planning to disable set-output command soon according to the blog. I am currently using the following ......
Read more >How to Fix the set-output GitHub Actions Deprecation Warning
If you have a GitHub Actions workflow that sets an output using echo ::set-output key=value , you have started to see an unhelpful...
Read more >How to pass the output of a bash command to Github Action ...
Update: set-output is being deprecated as well "Starting 1st June 2023 workflows using save-state or set-output commands via stdout will ...
Read more >Deprecating save-state and set-output commands
GitHub Actions : Deprecating save-state and set-output commands. actions. October 11, 2022. To avoid untrusted logged data to use save-state and set-output ......
Read more >How to Patch the Deprecated set-output in GitHub Workflows ...
Within the last week or so, I started noticing deprecation warnings in the logs of my GitHub Actions workflow runs.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@ghengeveld Looks good now, thanks so much for the speedy fix!
Yes, this is expected. We have no versioning on the GitHub Action, it is always the latest version. We intend to change that in the future, but it’s not as trivial as it sounds unfortunately (we’d want to do semver, but that means publishing multiple tags with each release).