-
Notifications
You must be signed in to change notification settings - Fork 549
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
mimir-rules-action
: set-output
is deprecated
#4372
Conversation
See https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ `set-output` will stop working on June 1st and is currently warning
Summary should use the multiline format: github/docs#21529
a5ac4fd
to
f005a21
Compare
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.
LGTM, thanks @julienduchesne!
SUMMARY=$(echo "${OUTPUT}" | grep Summary) | ||
echo ::set-output name=summary::"${SUMMARY}" | ||
echo 'summary<<ENDOFSUMMARY' >> $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.
Note to reviewers: I thought we needed the =
sign after summary
here, but apparently it's not required: https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#multiline-strings
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.
Thanks for addressing it!
See https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
set-output
will stop working on June 1st and is currently warningThis was tested on our internal workflow