File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,10 +22,12 @@ jobs:
2222 - name : Check release version
2323 id : check-tag
2424 run : |
25- echo "version=$(echo ${{ github.event.ref } } | cut -d / -f 3 | cut -c2-)" >> $GITHUB_OUTPUT
26- if [[ ${{ github.event.ref } } =~ ^refs/tags/v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
25+ echo "version=$(echo ${GITHUB_EVENT_REF } | cut -d / -f 3 | cut -c2-)" >> $GITHUB_OUTPUT
26+ if [[ ${GITHUB_EVENT_REF } =~ ^refs/tags/v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
2727 echo "match=true" >> $GITHUB_OUTPUT
2828 fi
29+ env :
30+ GITHUB_EVENT_REF : ${{ github.event.ref }}
2931
3032 - name : Authenticate to GCP
3133 id : authenticate
Original file line number Diff line number Diff line change @@ -19,10 +19,12 @@ jobs:
1919 - name : Check release version
2020 id : check-tag
2121 run : |
22- echo "version=$(echo ${{ github.event.ref } } | cut -d / -f 3 | cut -c2-)" >> $GITHUB_OUTPUT
23- if [[ ${{ github.event.ref } } =~ ^refs/tags/v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
22+ echo "version=$(echo ${GITHUB_EVENT_REF } | cut -d / -f 3 | cut -c2-)" >> $GITHUB_OUTPUT
23+ if [[ ${GITHUB_EVENT_REF } =~ ^refs/tags/v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
2424 echo "match=true" >> $GITHUB_OUTPUT
2525 fi
26+ env :
27+ GITHUB_EVENT_REF : ${{ github.event.ref }}
2628
2729 - name : Authenticate to GCP
2830 id : authenticate
You can’t perform that action at this time.
0 commit comments