Commit 3e10dc0 1 parent efd646a commit 3e10dc0 Copy full SHA for 3e10dc0
File tree 2 files changed +23
-2
lines changed
2 files changed +23
-2
lines changed Original file line number Diff line number Diff line change @@ -132,6 +132,16 @@ jobs:
132
132
run : |
133
133
make release-package
134
134
135
+ - name : Notarize package
136
+ env :
137
+ NOTARIZATION_API_KEY_ID : ${{ secrets.NOTARIZATION_API_KEY_ID }}
138
+ NOTARIZATION_API_KEY : ${{ secrets.NOTARIZATION_API_KEY }}
139
+ NOTARIZATION_API_ISSUER : ${{ secrets.NOTARIZATION_API_ISSUER }}
140
+ run : |
141
+ echo $NOTARIZATION_API_KEY | base64 --decode > notarization_api_key
142
+ xcrun notarytool submit ${{ env.BUILD_DIR }}/deploy/*.dmg --key notarization_api_key --key-id $NOTARIZATION_API_KEY_ID --issuer $NOTARIZATION_API_ISSUER --wait
143
+ xcrun stapler staple ${{ env.BUILD_DIR }}/deploy/*.dmg
144
+
135
145
- name : Upload artifacts
136
146
uses : actions/upload-artifact@v4
137
147
with :
Original file line number Diff line number Diff line change @@ -55,11 +55,22 @@ add_custom_target(
55
55
add_custom_target (bundle DEPENDS deploy_libs)
56
56
57
57
if (APPLE )
58
+ set (codesign_cmd
59
+ codesign
60
+ --deep
61
+ --force
62
+ --options
63
+ runtime
64
+ -s
65
+ $ENV{CODE_IDENTITY}
66
+ )
58
67
add_custom_target (
59
68
deploy_sign
60
- COMMAND codesign --deep --force -s $ENV{CODE_IDENTITY} ${APX_INSTALL_APP_DIR}
69
+ COMMAND ${codesign_cmd} ${APX_INSTALL_DATA_DIR} /xplane/ApxSIL_Darwin_universal.xpl
70
+ COMMAND ${codesign_cmd} ${APX_INSTALL_BIN_DIR} /gcs
71
+ COMMAND ${codesign_cmd} ${APX_INSTALL_APP_DIR}
61
72
COMMENT "Signing app with $ENV{CODE_IDENTITY} "
62
- DEPENDS deploy_libs
73
+ # DEPENDS deploy_libs
63
74
WORKING_DIRECTORY ${APX_DEPLOY_DIR}
64
75
VERBATIM USES_TERMINAL
65
76
)
You can’t perform that action at this time.
0 commit comments