From ab7ee688d4cb369557ae67d2367bcdb970fd67d4 Mon Sep 17 00:00:00 2001 From: Zachary Hall Date: Sun, 20 Oct 2024 15:43:24 -0700 Subject: [PATCH] Update creation of source code archive --- .forgejo/workflows/compile.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/compile.yaml b/.forgejo/workflows/compile.yaml index 00090d3..1d8c484 100644 --- a/.forgejo/workflows/compile.yaml +++ b/.forgejo/workflows/compile.yaml @@ -17,7 +17,7 @@ jobs: - name: Install ZSTD compressor run: apt-get update && apt-get install -y zstd - name: Create archive - run: tar -cf source.tar . && zstd -19 source.tar + run: rm source.tar.zst -f; tar --exclude-vcs -c --to-stdout --exclude=source.tar.zst ./* ./.* | zstd -19 -T0 -o source.tar.zst - name: Upload source code uses: actions/upload-artifact@v3 with: @@ -29,6 +29,7 @@ jobs: if-no-files-found: error build-appimage: runs-on: ubuntu-latest + needs: get-source-code steps: - name: Download repository code uses: actions/download-artifact@v3 @@ -59,6 +60,7 @@ jobs: run: emerge -v media-sound/looper build-android: runs-on: ubuntu-latest + needs: get-source-code steps: - name: Download repository code uses: actions/download-artifact@v3 @@ -98,6 +100,7 @@ jobs: path: ${{ steps.debugApk.outputs.apkFile }} build-windows: runs-on: ubuntu-latest + needs: get-source-code steps: - name: Download repository code uses: actions/download-artifact@v3