diff --git a/.github/workflows/build-mac.yml b/.github/workflows/build-mac.yml
index 5e81bc7..c84a180 100644
--- a/.github/workflows/build-mac.yml
+++ b/.github/workflows/build-mac.yml
@@ -175,7 +175,7 @@ jobs:
         # ditto must be used, see https://developer.apple.com/documentation/xcode/packaging-mac-software-for-distribution#Build-a-zip-archive
       - name: Zip binary for notarization
         if: inputs.notarize
-        run: ditto -c -k --keep-parent ./target/cryptomator-cli.app ./${{ matrix.artifact-name}}
+        run: ditto -c -k --keepParent ./target/cryptomator-cli.app ./${{ matrix.artifact-name}}
       - name: Setup Xcode
         if: inputs.notarize
         run: sudo xcode-select -s /Applications/Xcode_16.app
@@ -211,7 +211,7 @@ jobs:
         shell: bash
         continue-on-error: true
       - name: Zip app for distribution
-        run: ditto -c -k --keep-parent ./target/cryptomator-cli.app ./${{ matrix.artifact-name}}
+        run: ditto -c -k --keepParent ./target/cryptomator-cli.app ./${{ matrix.artifact-name}}
       - name: Create detached GPG signature with key 615D449FE6E6A235
         run: |
           echo "${GPG_PRIVATE_KEY}" | gpg --batch --quiet --import