Skip to content

Commit

Permalink
🐛 Reduce space usage by compressing mac packages with gzip (#1300)
Browse files Browse the repository at this point in the history
  • Loading branch information
guiyanakuang authored Jun 25, 2024
1 parent 472c018 commit a60b3e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ jobs:
# https://github.com/actions/upload-artifact?tab=readme-ov-file#permission-loss
- name: Tar Mac amd64 app
run: |
tar -cvf output/clipevery-${{ env.PACKAGE_VERSION }}-mac-amd64/clipevery-${{ env.PACKAGE_VERSION }}-mac-amd64.tar -C output/clipevery-${{ env.PACKAGE_VERSION }}-mac-amd64 Clipevery.app
tar -czvf output/clipevery-${{ env.PACKAGE_VERSION }}-mac-amd64/clipevery-${{ env.PACKAGE_VERSION }}-mac-amd64.tar.gz -C output/clipevery-${{ env.PACKAGE_VERSION }}-mac-amd64 Clipevery.app
rm -rf output/clipevery-${{ env.PACKAGE_VERSION }}-mac-amd64/Clipevery.app
- name: Upload Mac amd64 app
Expand All @@ -214,7 +214,7 @@ jobs:

- name: Tar Mac aarch64 app
run: |
tar -cvf output/clipevery-${{ env.PACKAGE_VERSION }}-mac-aarch64/clipevery-${{ env.PACKAGE_VERSION }}-mac-aarch64.tar -C output/clipevery-${{ env.PACKAGE_VERSION }}-mac-aarch64 Clipevery.app
tar -czvf output/clipevery-${{ env.PACKAGE_VERSION }}-mac-aarch64/clipevery-${{ env.PACKAGE_VERSION }}-mac-aarch64.tar.gz -C output/clipevery-${{ env.PACKAGE_VERSION }}-mac-aarch64 Clipevery.app
rm -rf output/clipevery-${{ env.PACKAGE_VERSION }}-mac-aarch64/Clipevery.app
- name: Upload Mac aaarch64 app
Expand Down

0 comments on commit a60b3e4

Please sign in to comment.