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 @@ -278,9 +278,13 @@ jobs:
278278 security import certificate.p12 -k build.keychain -P "${{ secrets.CERTIFICATE_PASSWORD }}" -T /usr/bin/codesign
279279 security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k "${{ secrets.KEYCHAIN_PASSWORD }}" build.keychain
280280
281- - name : codesign dylib
281+ - name : codesign and notarize dylib
282282 if : matrix.os == 'macos-15' && matrix.name != 'apple-xcframework'
283- run : codesign --sign "${{ secrets.APPLE_TEAM_ID }}" --timestamp --options runtime dist/ai.dylib
283+ run : |
284+ codesign --sign "${{ secrets.APPLE_TEAM_ID }}" --timestamp --options runtime dist/ai.dylib
285+ ditto -c -k dist/ai.dylib dist/ai.zip
286+ xcrun notarytool submit dist/ai.zip --apple-id "${{ secrets.APPLE_ID }}" --password "${{ secrets.APPLE_PASSWORD }}" --team-id "${{ secrets.APPLE_TEAM_ID }}" --wait
287+ rm dist/ai.zip
284288
285289 - name : codesign and notarize xcframework
286290 if : matrix.name == 'apple-xcframework'
You can’t perform that action at this time.
0 commit comments