Skip to content

Commit

Permalink
chore: test $GITHUB_REF
Browse files Browse the repository at this point in the history
  • Loading branch information
maancham committed Jul 25, 2024
1 parent 176d29c commit 0186c5b
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/build-contracts-and-push-to-r2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,13 @@ jobs:
- name: Get tag
id: get-tag
run: |
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
fi
echo "github_ref=$GITHUB_REF"
# 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
# fi

# - name: Check for release information if present
# id: check-release
Expand Down

0 comments on commit 0186c5b

Please sign in to comment.