diff options
author | Philipp David <pd@3b.pm> | 2022-03-18 22:28:52 +0100 |
---|---|---|
committer | Philipp David <pd@3b.pm> | 2022-03-18 22:28:52 +0100 |
commit | 620252537295fa7dd5ce8a27ce03561a597ed0cd (patch) | |
tree | 223545fc6335bc875d175a9a1e33ee8af86ac470 | |
parent | f01b8f29c68cde62d31293175482d1d0c9bc23e0 (diff) | |
download | PrismLauncher-620252537295fa7dd5ce8a27ce03561a597ed0cd.tar.gz PrismLauncher-620252537295fa7dd5ce8a27ce03561a597ed0cd.tar.bz2 PrismLauncher-620252537295fa7dd5ce8a27ce03561a597ed0cd.zip |
Readd short rev to artifact names
-rw-r--r-- | .github/workflows/build.yml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 325e28b8..ac181079 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 |