yet another versioned name attempt

This commit is contained in:
2023-04-29 23:39:49 +02:00
parent 621f0bdbfa
commit 15d4f6cf84
2 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -14,11 +14,11 @@ jobs:
java-version: 17
distribution: 'temurin'
- name: Build with Maven
run: mvn -B package --file pom.xml
run: mvn -B package --file pom.xml -Drevision=BlockEdit-${{ github.ref_name }}-${{ github.sha::6 }}
- name: Copy artifacts
run: mkdir staging && cp target/BlockEdit-*.jar staging
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: BlockEdit
name: BlockEdit-${GITHUB_REF}-${GITHUB_SHA::6}
path: staging