Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 54caaf1

Browse files
committed
Replace mitchellh/go used for macOS notarization (#2399)
* switch to gon fork, apple is deprecating altool to sign * Provider is mandatory
1 parent 71b0d1a commit 54caaf1

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

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

Lines changed: 3 additions & 2 deletions
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 = ["dist/arduino-cli_osx_${{ matrix.artifact.name }}/arduino-cli"]
129129
bundle_id = "cc.arduino.arduino-cli"
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‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,14 +121,14 @@ jobs:
121121
122122
- name: Install gon for code signing and app notarization
123123
run: |
124-
wget -q https://github.com/mitchellh/gon/releases/download/v0.2.3/gon_macos.zip
124+
wget -q https://github.com/Bearer/gon/releases/download/v0.0.27/gon_macos.zip
125125
unzip gon_macos.zip -d /usr/local/bin
126126
127127
- name: Write gon config to file
128128
# gon does not allow env variables in config file (https://github.com/mitchellh/gon/issues/20)
129129
run: |
130130
cat > "${{ env.GON_CONFIG_PATH }}" <<EOF
131-
# See: https://github.com/mitchellh/gon#configuration-file
131+
# See: https://github.com/Bearer/gon#configuration-file
132132
source = ["dist/arduino-cli_osx_${{ matrix.artifact.name }}/arduino-cli"]
133133
bundle_id = "cc.arduino.arduino-cli"
134134
@@ -147,6 +147,7 @@ jobs:
147147
env:
148148
AC_USERNAME: ${{ secrets.AC_USERNAME }}
149149
AC_PASSWORD: ${{ secrets.AC_PASSWORD }}
150+
AC_PROVIDER: ${{ secrets.AC_PROVIDER }}
150151
run: |
151152
gon "${{ env.GON_CONFIG_PATH }}"
152153

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /