Skip to content

Commit 8c0bda0

Browse files
authored
Merge pull request #764 from per1234/gon-fork
Use Bearer/gon for macOS notarization of releases
2 parents 16aa9eb + 861c22f commit 8c0bda0

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/publish-go-nightly-task.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -117,14 +117,14 @@ jobs:
117117
118118
- name: Install gon for code signing and app notarization
119119
run: |
120-
wget -q https://github.com/mitchellh/gon/releases/download/v0.2.3/gon_macos.zip
120+
wget -q https://github.com/Bearer/gon/releases/download/v0.0.27/gon_macos.zip
121121
unzip gon_macos.zip -d /usr/local/bin
122122
123123
- name: Write gon config to file
124124
# gon does not allow env variables in config file (https://github.com/mitchellh/gon/issues/20)
125125
run: |
126126
cat > "${{ env.GON_CONFIG_PATH }}" <<EOF
127-
# See: https://github.com/mitchellh/gon#configuration-file
127+
# See: https://github.com/Bearer/gon#configuration-file
128128
source = ["${{ env.DIST_DIR }}/${{ env.PROJECT_NAME }}_osx_${{ matrix.artifact.name }}/${{ env.PROJECT_NAME }}"]
129129
bundle_id = "cc.arduino.${{ env.PROJECT_NAME }}"
130130
@@ -143,6 +143,7 @@ jobs:
143143
env:
144144
AC_USERNAME: ${{ secrets.AC_USERNAME }}
145145
AC_PASSWORD: ${{ secrets.AC_PASSWORD }}
146+
AC_PROVIDER: ${{ secrets.AC_PROVIDER }}
146147
run: |
147148
gon "${{ env.GON_CONFIG_PATH }}"
148149

.github/workflows/release-go-task.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -122,14 +122,14 @@ jobs:
122122
123123
- name: Install gon for code signing and app notarization
124124
run: |
125-
wget -q https://github.com/mitchellh/gon/releases/download/v0.2.3/gon_macos.zip
125+
wget -q https://github.com/Bearer/gon/releases/download/v0.0.27/gon_macos.zip
126126
unzip gon_macos.zip -d /usr/local/bin
127127
128128
- name: Write gon config to file
129129
# gon does not allow env variables in config file (https://github.com/mitchellh/gon/issues/20)
130130
run: |
131131
cat > "${{ env.GON_CONFIG_PATH }}" <<EOF
132-
# See: https://github.com/mitchellh/gon#configuration-file
132+
# See: https://github.com/Bearer/gon#configuration-file
133133
source = ["${{ env.DIST_DIR }}/${{ env.PROJECT_NAME }}_osx_${{ matrix.artifact.name }}/${{ env.PROJECT_NAME }}"]
134134
bundle_id = "cc.arduino.${{ env.PROJECT_NAME }}"
135135
@@ -148,6 +148,7 @@ jobs:
148148
env:
149149
AC_USERNAME: ${{ secrets.AC_USERNAME }}
150150
AC_PASSWORD: ${{ secrets.AC_PASSWORD }}
151+
AC_PROVIDER: ${{ secrets.AC_PROVIDER }}
151152
run: |
152153
gon "${{ env.GON_CONFIG_PATH }}"
153154

0 commit comments

Comments
 (0)