Skip to content

Commit a5a787e

Browse files
committed
use macos tool for zipping [ci skip]
1 parent 1b1f697 commit a5a787e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-mac.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ jobs:
177177
working-directory: target
178178
- name: Zip binary for notarization
179179
if: inputs.notarize
180-
run: zip -r ./${{ matrix.artifact-name}} ./target/cryptomator-cli.app
180+
run: ditto -c -k ./target/cryptomator-cli.app ./${{ matrix.artifact-name}}
181181
- name: Setup Xcode
182182
if: inputs.notarize
183183
run: sudo xcode-select -s /Applications/Xcode_16.app
@@ -213,7 +213,7 @@ jobs:
213213
shell: bash
214214
continue-on-error: true
215215
- name: Zip app for distribution
216-
run: zip -r ./${{ matrix.artifact-name}} ./target/cryptomator-cli.app
216+
run: ditto -c -k ./target/cryptomator-cli.app ./${{ matrix.artifact-name}}
217217
- name: Create detached GPG signature with key 615D449FE6E6A235
218218
run: |
219219
echo "${GPG_PRIVATE_KEY}" | gpg --batch --quiet --import

0 commit comments

Comments
 (0)