Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…n_support) to use deep notarization, since this is not yet merged mitchellh/gon#42
  • Loading branch information
umbynos committed Nov 7, 2022
1 parent d56b918 commit 2b127da
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,8 @@ jobs:
notarize-macos:
name: Notarize bundle
runs-on: macos-12
env:
GON_PATH: ${{ github.workspace }}/gon
needs: create-macos-bundle

steps:
Expand Down Expand Up @@ -249,9 +251,18 @@ jobs:
"${{ env.KEYCHAIN }}"
- name: Install gon for code signing and app notarization
uses: actions/checkout@v3
with:
repository: darkvertex/gon #this fork has support for --deep notarization
path: ${{ env.GON_PATH }}
ref: deep_sign_support

- name: Build gon
working-directory: ${{ env.GON_PATH }}/cmd/gon/
run: |
wget -q https://github.com/mitchellh/gon/releases/download/v0.2.5/gon_macos.zip
unzip gon_macos.zip -d /usr/local/bin
ls -lah
go build
mv gon /usr/local/bin
- name: Write gon config to file
# gon does not allow env variables in config file (https://github.com/mitchellh/gon/issues/20)
Expand All @@ -263,6 +274,7 @@ jobs:
sign {
application_identity = "Developer ID Application: ARDUINO SA (7KT7ZWMCJT)"
deep = true
}
# Ask Gon for zip output to force notarization process to take place.
Expand Down

0 comments on commit 2b127da

Please sign in to comment.