Skip to content

Commit

Permalink
staple
Browse files Browse the repository at this point in the history
  • Loading branch information
danemadsen committed Aug 15, 2024
1 parent a0248d7 commit 9ca21e9
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/build-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9ca21e9

Please sign in to comment.