-
Notifications
You must be signed in to change notification settings - Fork 56
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
Remove set-output usage #337
base: main
Are you sure you want to change the base?
Conversation
# - name: Extract | ||
# id: extract | ||
# run: | | ||
# echo "##[set-output name=branch;]${GITHUB_REF#refs/heads/}" |
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.
Not sure about this one. Doesn't look like it actually does anything useful?
Since this repo is not being maintained, I have updated and released a fork here- I have addressed this as well as #336 https://github.com/marketplace/actions/docker-layer-caching2 |
@satackey can you please approve? |
@@ -26,14 +26,14 @@ jobs: | |||
id: info | |||
run: | | |||
if [ '${{ github.event_name }}' = 'pull_request' ]; then | |||
echo '::set-output name=commit_message::' | |||
echo "commit_message=" >> $GITHUB_ENV |
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.
This and all the others are actually echo 'name=commit_message' >> $GITHUB_OUTPUT
reference: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Because it's getting deprecated https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/