question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

chromaui/action github action gives deprecation warnings about set-output

See original GitHub issue

If 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:closed
  • Created a year ago
  • Reactions:4
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
hendricksondcommented, Nov 10, 2022

@ghengeveld Looks good now, thanks so much for the speedy fix!

1reaction
ghengeveldcommented, Nov 10, 2022

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).

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found