Readd short rev to artifact names

This commit is contained in:
Philipp David 2022-03-18 22:28:52 +01:00
parent f01b8f29c6
commit 6202525372
No known key found for this signature in database
GPG Key ID: 967A5D5EB5071577

View File

@ -64,6 +64,12 @@ jobs:
ninja:p
qt5:p
- name: Set short version
shell: bash
run: |
ver_short=`git rev-parse --short HEAD`
echo "VERSION=$ver_short" >> $GITHUB_ENV
- name: Install OpenJDK
uses: actions/setup-java@v3
with:
@ -231,7 +237,7 @@ jobs:
if: runner.os == 'Windows'
uses: actions/upload-artifact@v2
with:
name: PolyMC-${{ matrix.name }}-${{ inputs.build_type }}
name: PolyMC-${{ matrix.name }}-${{ env.VERSION }}-${{ inputs.build_type }}
path: ${{ env.INSTALL_DIR }}/**
- name: Upload package for macOS