Skip to content

Commit 76541dd

Browse files
committed
Fix missing tag name change
1 parent 6bf60c1 commit 76541dd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/build-on-push.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,11 @@ jobs:
119119
cd godot_openxr
120120
echo "GITHUB_SHA_SHORT=$(git rev-parse --short ${{ github.sha }})" >> $GITHUB_ENV
121121
cd ..
122+
if: github.ref == 'refs/heads/master'
123+
- name: Get tag name
124+
run: |
125+
echo "GITHUB_SHA_SHORT=$(echo ${GITHUB_REF##*/})" >> $GITHUB_ENV
126+
if: startsWith(github.ref, 'refs/tags')
122127
- name: Clean up extracted files
123128
run: |
124129
rm -rf build-files-linux

0 commit comments

Comments
 (0)