diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 12071cf..afc58d3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,11 +14,11 @@ jobs: java-version: 17 distribution: 'temurin' - name: Build with Maven - run: mvn -B package --file pom.xml -Drevision=BlockEdit-${{ github.ref_name }}-${{ github.sha }} + run: mvn -B package --file pom.xml -Drevision=${{ github.ref_name }}-${{ github.sha }} - name: Copy artifacts run: mkdir staging && cp target/BlockEdit-*.jar staging - name: Upload artifacts uses: actions/upload-artifact@v3 with: - name: BlockEdit-${GITHUB_REF}-${GITHUB_SHA::6} + name: BlockEdit-${{ github.ref_name }}-${{ github.sha }} path: staging \ No newline at end of file