From f0cee47aeaace308d447f197a3fd029028f5048c Mon Sep 17 00:00:00 2001 From: Sebastian Stenzel Date: Mon, 19 Jul 2021 21:50:07 +0200 Subject: [PATCH] let actions/upload-artifact assemble the buildkit --- .github/workflows/build.yml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6bd6f7909..73f880cff 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -67,14 +67,20 @@ jobs: run: mvn -B clean package -DskipTests -P${{ matrix.profile }} shell: bash - name: Archive buildkit-${{ matrix.profile }}.tar.gz - run: tar -czf buildkit-${{ matrix.profile }}.tar.gz libs mods ../LICENSE.txt ../dist/${{ matrix.launcher }} + run: | + cp LICENSE.txt target + cp dist/${{ matrix.launcher }} target shell: bash - working-directory: target - - name: Upload buildkit-${{ matrix.profile }}.tar.gz + - name: Upload buildkit-${{ matrix.profile }} uses: actions/upload-artifact@v2 with: - name: buildkit-${{ matrix.profile }}.tar.gz - path: target/buildkit-${{ matrix.profile }}.tar.gz + name: buildkit-${{ matrix.profile }} + path: | + target/libs + target/mods + target/LICENSE.txt + target/${{ matrix.launcher }} + if-no-files-found: error if-no-files-found: error # release: