Skip to content

Commit

Permalink
Zip the build
Browse files Browse the repository at this point in the history
  • Loading branch information
Hacksore committed Aug 18, 2024
1 parent 99fc24f commit 0badcdf
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/canary.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 0badcdf

Please sign in to comment.