From 9ca21e95c8aa09b4da7b364c8d797d1eacdf5091 Mon Sep 17 00:00:00 2001 From: danemadsen Date: Thu, 15 Aug 2024 14:16:02 +1000 Subject: [PATCH] staple --- .github/workflows/build-macos.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml index 8a9bcc5..189a41e 100644 --- a/.github/workflows/build-macos.yml +++ b/.github/workflows/build-macos.yml @@ -101,19 +101,14 @@ jobs: mkdir -p ~/Library/Developer/Xcode/Provisioning\ Profiles echo "${{ secrets.APPLE_PROVISION_PROFILE }}" | base64 --decode > ~/Library/Developer/Xcode/Provisioning\ Profiles/Github_Actions.provisionprofile - - name: Compress Universal dylibs - run: ditto -c -k --sequesterRsrc "universal/lib/" "babylon.zip" - - name: Submit for Notarization run: | xcrun notarytool store-credentials --apple-id ${{ secrets.APPLE_ID }} --password ${{ secrets.APPLE_APPLICATION_SPECIFIC_PASSWORD }} --team-id ${{ secrets.APPLE_TEAM_ID }} --validate notorization_profile - xcrun notarytool submit --keychain-profile "notorization_profile" --progress --wait babylon.zip + xcrun notarytool submit --keychain-profile "notorization_profile" --progress --wait universal/lib/libbabylon.dylib - name: Staple Notarization run: | - for dylib in universal/lib/*.dylib; do - xcrun stapler staple $dylib - done + xcrun stapler staple universal/lib/libbabylon.dylib - name: Upload Universal dylibs uses: actions/upload-artifact@v3