From 0186c5b2e8efe7dc627d7e7dbde0264f16e2fbf3 Mon Sep 17 00:00:00 2001 From: maancham Date: Wed, 24 Jul 2024 20:47:54 -0400 Subject: [PATCH] chore: test $GITHUB_REF --- .../workflows/build-contracts-and-push-to-r2.yaml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-contracts-and-push-to-r2.yaml b/.github/workflows/build-contracts-and-push-to-r2.yaml index f1ca99fdc..2aa163109 100644 --- a/.github/workflows/build-contracts-and-push-to-r2.yaml +++ b/.github/workflows/build-contracts-and-push-to-r2.yaml @@ -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