Skip to content
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.

Commit

Permalink
ci: Use GITHUB_OUTPUT envvar instead of set-output command (#619)
Browse files Browse the repository at this point in the history
  • Loading branch information
arunsathiya authored Jan 12, 2024
1 parent 9f90e91 commit 991faf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ jobs:
# credit: mcraiha via [https://github.community/t/how-to-get-just-the-tag-name/16241/17]
id: get_tag
shell: bash
run: echo ::set-output name=THIS_TAG::${GITHUB_REF/refs\/tags\//}
run: echo "THIS_TAG=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_OUTPUT

- name: Debug tag parsing
run: echo '${{ steps.get_tag.outputs.THIS_TAG }}'
Expand Down

0 comments on commit 991faf2

Please sign in to comment.