Skip to content

Commit

Permalink
chore: test refs/tags path
Browse files Browse the repository at this point in the history
  • Loading branch information
maancham committed Jul 25, 2024
1 parent 9cd20cb commit 176d29c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build-contracts-and-push-to-r2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,8 @@ jobs:
- name: Get tag
id: get-tag
run: |
echo "github ref name: ${{ github.ref_name }}"
echo "github event release tag name: ${{ github.event.release.tag_name }}"
if [[ $GITHUB_REF == refs/tags/* ]]; then
echo "tag:${GITHUB_REF#refs/tags/}"
echo "tag=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
else
echo "tag=" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 176d29c

Please sign in to comment.