From 868708b8e293a04235e32e69b24f251ae3183f34 Mon Sep 17 00:00:00 2001 From: youhavetrouble Date: Sat, 29 Apr 2023 23:42:39 +0200 Subject: [PATCH] fix artifact name --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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