@@ -218,6 +218,8 @@ jobs:
218
218
notarize-macos :
219
219
name : Notarize bundle
220
220
runs-on : macos-12
221
+ env :
222
+ GON_PATH : ${{ github.workspace }}/gon
221
223
needs : create-macos-bundle
222
224
223
225
steps :
@@ -249,9 +251,18 @@ jobs:
249
251
"${{ env.KEYCHAIN }}"
250
252
251
253
- name : Install gon for code signing and app notarization
254
+ uses : actions/checkout@v3
255
+ with :
256
+ repository : darkvertex/gon # this fork has support for --deep notarization
257
+ path : ${{ env.GON_PATH }}
258
+ ref : deep_sign_support
259
+
260
+ - name : Build gon
261
+ working-directory : ${{ env.GON_PATH }}/cmd/gon/
252
262
run : |
253
- wget -q https://github.com/mitchellh/gon/releases/download/v0.2.3/gon_macos.zip
254
- unzip gon_macos.zip -d /usr/local/bin
263
+ ls -lah
264
+ go build
265
+ mv gon /usr/local/bin
255
266
256
267
- name : Write gon config to file
257
268
# gon does not allow env variables in config file (https://github.com/mitchellh/gon/issues/20)
@@ -263,6 +274,7 @@ jobs:
263
274
264
275
sign {
265
276
application_identity = "Developer ID Application: ARDUINO SA (7KT7ZWMCJT)"
277
+ deep = true
266
278
}
267
279
268
280
# Ask Gon for zip output to force notarization process to take place.
@@ -444,7 +456,7 @@ jobs:
444
456
445
457
- name : Install gon for code signing and app notarization
446
458
run : |
447
- wget -q https://github.com/mitchellh/gon/releases/download/v0.2.3 /gon_macos.zip
459
+ wget -q https://github.com/mitchellh/gon/releases/download/v0.2.5 /gon_macos.zip
448
460
unzip gon_macos.zip -d /usr/local/bin
449
461
450
462
- name : Write gon config to file
0 commit comments