-
Notifications
You must be signed in to change notification settings - Fork 776
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
chore: stop using set-output in gh actions #5500
Conversation
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Codecov Report
@@ Coverage Diff @@
## main #5500 +/- ##
=======================================
Coverage 36.42% 36.42%
=======================================
Files 171 171
Lines 19133 19133
=======================================
Hits 6970 6970
Misses 11371 11371
Partials 792 792 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
.github/workflows/release.yaml
Outdated
@@ -59,7 +59,7 @@ jobs: | |||
steps: | |||
- name: Set version | |||
id: version | |||
run: echo ::set-output name=version::${GITHUB_REF#refs/*/} | |||
run: echo version=${GITHUB_REF#refs/*/} >> $GITHUB_OUTPUT |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should all of these be surrounded by quotes to avoid any space related issues?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TBH I have no idea, I can add quotes it shouldn't hurt.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Signed-off-by: Charles-Edouard Brétéché charles.edouard@nirmata.com
Explanation
This PR stops using
set-output
in gh actions (is deprecated).See https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/