From a60b3e4bfadc2fe2cc6392be24a0f1d41cf85949 Mon Sep 17 00:00:00 2001 From: Yiqun Zhang Date: Tue, 25 Jun 2024 15:22:48 +0800 Subject: [PATCH] :bug: Reduce space usage by compressing mac packages with gzip (#1300) --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a54118c98..ac8ed3b33 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 @@ -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