Skip to content

Commit

Permalink
Move GIT hash calculation up, so we can still calculate the short ref
Browse files Browse the repository at this point in the history
  • Loading branch information
beniwtv committed Nov 15, 2020
1 parent faa8bb9 commit 181fa20
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,9 @@ jobs:
cp -r build-files-macos/openvr/bin/osx64/OpenVR.framework addons/godot-openvr/bin/osx/OpenVR.framework
cp build-files-windows/demo/addons/godot-openvr/bin/win64/libgodot_openvr.dll addons/godot-openvr/bin/win64/libgodot_openvr.dll
cp build-files-windows/openvr/bin/win64/openvr_api.dll addons/godot-openvr/bin/win64/openvr_api.dll
- name: Calculate GIT short ref
run: |
echo "GITHUB_SHA_SHORT=$(git rev-parse --short ${{ github.sha }})" >> $GITHUB_ENV
- name: Clean up extracted files
run: |
rm -rf build-files-linux
Expand All @@ -139,9 +142,6 @@ jobs:
- name: Zip asset
run: |
zip -qq -r godot-openvr.zip .
- name: Calculate GIT short ref
run: |
echo "GITHUB_SHA_SHORT=$(git rev-parse --short ${{ github.sha }})" >> $GITHUB_ENV
- name: Create release for asset
id: create_release
uses: actions/create-release@v1
Expand Down

0 comments on commit 181fa20

Please sign in to comment.