File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -119,9 +119,13 @@ jobs:
119119 security import certificate.p12 -k build.keychain -P "${{ secrets.CERTIFICATE_PASSWORD }}" -T /usr/bin/codesign
120120 security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k "${{ secrets.KEYCHAIN_PASSWORD }}" build.keychain
121121
122- - name : codesign dylib
122+ - name : codesign and notarize dylib
123123 if : matrix.os == 'macos-15' && matrix.name != 'apple-xcframework'
124- run : codesign --sign "${{ secrets.APPLE_TEAM_ID }}" --timestamp --options runtime dist/cloudsync.dylib
124+ run : |
125+ codesign --sign "${{ secrets.APPLE_TEAM_ID }}" --timestamp --options runtime dist/cloudsync.dylib
126+ ditto -c -k dist/cloudsync.dylib dist/cloudsync.zip
127+ xcrun notarytool submit dist/cloudsync.zip --apple-id "${{ secrets.APPLE_ID }}" --password "${{ secrets.APPLE_PASSWORD }}" --team-id "${{ secrets.APPLE_TEAM_ID }}" --wait
128+ rm dist/cloudsync.zip
125129
126130 - name : codesign and notarize xcframework
127131 if : matrix.name == 'apple-xcframework'
You can’t perform that action at this time.
0 commit comments