diff --git a/.github/workflows/build-on-push.yml b/.github/workflows/build-on-push.yml index 053e29f..c185dfd 100644 --- a/.github/workflows/build-on-push.yml +++ b/.github/workflows/build-on-push.yml @@ -124,10 +124,12 @@ jobs: cp build-files-windows/openvr/bin/win64/openvr_api.dll godot_openvr_plugin/addons/godot-openvr/bin/win64/openvr_api.dll - name: Calculate GIT short ref run: | + cd godot_openvr echo "GITHUB_SHA_SHORT=$(git rev-parse --short ${{ github.sha }})" >> $GITHUB_ENV if: github.ref == 'refs/heads/master' - name: Get tag name run: | + cd godot_openvr echo "GITHUB_SHA_SHORT=$(echo ${GITHUB_REF##*/})" >> $GITHUB_ENV if: startsWith(github.ref, 'refs/tags') - name: Clean up extracted files