Skip to content

Commit 69f7ec8

Browse files
authored
ci: Add code signing for embedded Cocoa Sentry.framework (#317)
1 parent 51f1196 commit 69f7ec8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/package.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ jobs:
6767
rcodesign sign --for-notarization \
6868
--p12-file ${{ env.APPLE_CERT_PATH }} --p12-password ${{ secrets.APPLE_CERT_PASSWORD }} \
6969
artifact/addons/sentry/bin/macos/libsentry.macos.release.framework/libsentry.macos.release
70+
rcodesign sign --for-notarization \
71+
--p12-file ${{ env.APPLE_CERT_PATH }} --p12-password ${{ secrets.APPLE_CERT_PASSWORD }} \
72+
artifact/addons/sentry/bin/macos/Sentry.framework
7073
7174
- name: Notarize macOS binaries
7275
if: env.DO_CODESIGN == '1'
@@ -79,6 +82,10 @@ jobs:
7982
rcodesign notary-submit --wait --api-key-file ${{ env.APPLE_API_KEY_PATH }} \
8083
libsentry.macos.release.zip
8184
85+
zip -r Sentry.framework.zip artifact/addons/sentry/bin/macos/Sentry.framework
86+
rcodesign notary-submit --wait --api-key-file ${{ env.APPLE_API_KEY_PATH }} \
87+
Sentry.framework.zip
88+
8289
- name: Prepare artifact
8390
shell: bash
8491
run: |

0 commit comments

Comments
 (0)