From e0d038aa92e5c24f2a1dbc5be9db126f05643f10 Mon Sep 17 00:00:00 2001 From: Naoki Takezoe Date: Sun, 5 Jul 2020 13:23:24 +0900 Subject: [PATCH] Tweak artifacts uploading (#2477) --- .github/workflows/build.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2c29fd727..cf299b33e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,9 +32,8 @@ jobs: run: sbt scalafmtSbtCheck scalafmtCheck test:scalafmtCheck test - name: Build executable run: sbt executable - - name: Upload artifact + - name: Upload artifacts uses: actions/upload-artifact@v2 - if: ${{ matrix.java == 8 }} with: - name: gitbucket.war - path: ./target/executable/gitbucket.war + name: artifacts-java${{ matrix.java }}-${{ github.sha }} + path: ./target/executable/gitbucket.*