Skip to content

Commit f0fd3d4

Browse files
committed
use this fork (https://github.com/darkvertex/gon/tree/deep_sign_support) to use deep notarization, since this is not yet merged mitchellh/gon#42
1 parent e3fa9df commit f0fd3d4

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

.github/workflows/release.yml

+15-3
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,8 @@ jobs:
218218
notarize-macos:
219219
name: Notarize bundle
220220
runs-on: macos-12
221+
env:
222+
GON_PATH: ${{ github.workspace }}/gon
221223
needs: create-macos-bundle
222224

223225
steps:
@@ -249,9 +251,18 @@ jobs:
249251
"${{ env.KEYCHAIN }}"
250252
251253
- 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/
252262
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
255266
256267
- name: Write gon config to file
257268
# gon does not allow env variables in config file (https://github.com/mitchellh/gon/issues/20)
@@ -263,6 +274,7 @@ jobs:
263274
264275
sign {
265276
application_identity = "Developer ID Application: ARDUINO SA (7KT7ZWMCJT)"
277+
deep = true
266278
}
267279
268280
# Ask Gon for zip output to force notarization process to take place.
@@ -444,7 +456,7 @@ jobs:
444456
445457
- name: Install gon for code signing and app notarization
446458
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
448460
unzip gon_macos.zip -d /usr/local/bin
449461
450462
- name: Write gon config to file

0 commit comments

Comments
 (0)