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

Update references to set-output in GitHub workflows #579

Closed
consideRatio opened this issue Nov 14, 2022 · 0 comments · Fixed by jupyterhub/repo2docker-action#92
Closed

Comments

@consideRatio
Copy link
Member

consideRatio commented Nov 14, 2022

From the GitHub post:

Starting 1st June 2023 workflows using save-state or set-output commands via stdout will fail with an error.

That means there is quite a bit of chore maintenance work needed to be done. Currently, I find 0 files referencing save-state and 10 files referencing set-output, and we can track it with this search.

Note that outputs are still usable etc, just how they are set has changed. The updates we should do are...

 - name: Set output
-  run: echo "::set-output name={name}::{value}"
+  run: echo "{name}={value}" >> $GITHUB_OUTPUT

And where setOutput() is used for javascript based actions, we should ensure v1.10.0 or higher version of @actions/core is used.

PRs opened to migrate

Challenges

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant