From 0badcdf705eb6276e2470ae4b03451b50eacc5a2 Mon Sep 17 00:00:00 2001 From: Sean Boult <996134+Hacksore@users.noreply.github.com> Date: Sun, 18 Aug 2024 18:21:55 -0500 Subject: [PATCH] Zip the build --- .github/workflows/canary.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/canary.yaml b/.github/workflows/canary.yaml index 0165e503..8e42d282 100644 --- a/.github/workflows/canary.yaml +++ b/.github/workflows/canary.yaml @@ -136,14 +136,17 @@ jobs: with: name: "overlayed-canary-${{ matrix.settings.os }}" path: "${{ join(fromJSON(steps.build_os.outputs.artifactPaths), '\n') }}" + - name: Create a zip of the release + run: | + zip -r overlayed-${{ matrix.settings.os }}.zip apps/desktop/src-tauri/target/${{ matrix.setting.target }}/release/bundle/ - uses: ryand56/r2-upload-action@latest with: r2-account-id: ${{ secrets.R2_ACCOUNT_ID }} r2-access-key-id: ${{ secrets.R2_ACCESS_KEY_ID }} r2-secret-access-key: ${{ secrets.R2_SECRET_ACCESS_KEY }} r2-bucket: ${{ secrets.R2_BUCKET }} - source-dir: "${{ join(fromJSON(steps.build_os.outputs.artifactPaths), '\n') }}" - destination-dir: canary-test/test.zip + source-dir: overlayed-${{ matrix.settings.os }}.zip + destination-dir: canary-test/${{ matrix.settings.os }}.zip multipart-size: 100 max-retries: 3 multipart-concurrent: true