Skip to content

Remove set-output usage#337

Open
palfrey wants to merge 1 commit intosatackey:mainfrom
palfrey:remove-set-oput
Open

Remove set-output usage#337
palfrey wants to merge 1 commit intosatackey:mainfrom
palfrey:remove-set-oput

Conversation

@palfrey
Copy link

@palfrey palfrey commented Oct 16, 2022

# - name: Extract
# id: extract
# run: |
# echo "##[set-output name=branch;]${GITHUB_REF#refs/heads/}"
Copy link
Author

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?

@jpribyl jpribyl mentioned this pull request Nov 5, 2022
@jpribyl
Copy link

jpribyl commented Nov 5, 2022

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

@tovbinm
Copy link

tovbinm commented Nov 30, 2022

@satackey can you please approve?

run: |
if [ '${{ github.event_name }}' = 'pull_request' ]; then
echo '::set-output name=commit_message::'
echo "commit_message=" >> $GITHUB_ENV

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/

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants