Skip to content

Commit 54e8769

Browse files
committed
bump macos runner to macos-12
1 parent c14358d commit 54e8769

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
#use the strategy instead because we still use the native build
6565
strategy:
6666
matrix:
67-
os: [ubuntu-18.04, windows-2019, macos-11]
67+
os: [ubuntu-18.04, windows-2019, macos-12]
6868
arch: [-amd64]
6969
include:
7070
- os: windows-2019

.github/workflows/release.yml

+11-11
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
build:
2323
strategy:
2424
matrix:
25-
os: [ubuntu-18.04, windows-2019, macos-11]
25+
os: [ubuntu-18.04, windows-2019, macos-12]
2626
arch: [-amd64]
2727
include:
2828
- os: windows-2019
@@ -118,7 +118,7 @@ jobs:
118118
CGO_CFLAGS: -mmacosx-version-min=10.11
119119
CGO_LDFLAGS: -mmacosx-version-min=10.11
120120
run: task go:build
121-
if: matrix.os == 'macos-11'
121+
if: matrix.os == 'macos-12'
122122

123123
# this will create `public/` dir with compressed full bin (<version>/<os>-<arch>.gz) and a json file
124124
- name: Create autoupdate files
@@ -150,7 +150,7 @@ jobs:
150150
needs: build
151151
strategy:
152152
matrix: # to allow support for future architectures
153-
os: [macos-11]
153+
os: [macos-12]
154154
arch: [-amd64]
155155

156156
runs-on: ${{ matrix.os }}
@@ -231,7 +231,7 @@ jobs:
231231
strategy:
232232
fail-fast: false # if one os is failing continue nonetheless
233233
matrix: # used to generate installers for different OS and not for runs-on
234-
os: [ubuntu-18.04, windows-2019, macos-11]
234+
os: [ubuntu-18.04, windows-2019, macos-12]
235235
arch: [-amd64]
236236
include:
237237
- os: ubuntu-18.04
@@ -250,7 +250,7 @@ jobs:
250250
executable-path: artifacts/windows/
251251
extension: .exe
252252
installer-extension: .exe
253-
- os: macos-11
253+
- os: macos-12
254254
browser: safari
255255
install-builder-name: osx
256256
executable-path: 'skel/ArduinoCreateAgent.app/Contents/MacOS/'
@@ -275,7 +275,7 @@ jobs:
275275
# zip artifacts do not mantain executable permission
276276
- name: Make executable
277277
run: chmod -v +x ${{ matrix.executable-path }}arduino-create-agent*
278-
if: matrix.os == 'ubuntu-18.04' || matrix.os == 'macos-11'
278+
if: matrix.os == 'ubuntu-18.04' || matrix.os == 'macos-12'
279279

280280
- name: Rename executable to Arduino_Create_Agent
281281
run: mv -v ${{ matrix.executable-path }}arduino-create-agent${{ matrix.extension }} ${{ matrix.executable-path }}Arduino_Create_Agent${{ matrix.extension }}
@@ -286,7 +286,7 @@ jobs:
286286

287287
- name: get year
288288
run: echo "YEAR=$(date "+%Y")" >> $GITHUB_ENV
289-
if: matrix.os == 'macos-11'
289+
if: matrix.os == 'macos-12'
290290

291291
- name: Generate Info.plist for MacOS
292292
run: |
@@ -309,7 +309,7 @@ jobs:
309309
310310
</dict></plist>
311311
EOF
312-
if: matrix.os == 'macos-11'
312+
if: matrix.os == 'macos-12'
313313

314314
- name: Save InstallBuilder license to file
315315
run: echo "${{ secrets.INSTALLER_LICENSE }}" > /tmp/license.xml
@@ -320,7 +320,7 @@ jobs:
320320

321321
- name: Save macos signing certificate to file
322322
run: echo "${{ secrets.INSTALLER_CERT_MAC_P12 }}" | base64 --decode > ${{ env.INSTALLER_CERT_MAC_P12 }}
323-
if: matrix.os == 'macos-11'
323+
if: matrix.os == 'macos-12'
324324

325325
# win(edge),mac(safari) -> CERT_INSTALL and win,mac:(ff,chrome) -> CHOICE_CERT_INSTALL
326326
# installbuilder reads the env vars with certs paths and use it to sign the installer.
@@ -332,7 +332,7 @@ jobs:
332332
cp -vr ArduinoCreateAgent-${GITHUB_REF##*/}-${{ matrix.install-builder-name }}-installer-CC${{matrix.installer-extension}} ArduinoCreateAgent-${GITHUB_REF##*/}-${{ matrix.install-builder-name }}${{ matrix.arch }}-installer-chrome${{matrix.installer-extension}}
333333
mv -v ArduinoCreateAgent-${GITHUB_REF##*/}-${{ matrix.install-builder-name }}-installer-CC${{matrix.installer-extension}} ArduinoCreateAgent-${GITHUB_REF##*/}-${{ matrix.install-builder-name }}${{ matrix.arch }}-installer-firefox${{matrix.installer-extension}}
334334
rm -r ArduinoCreateAgent-${GITHUB_REF##*/}-${{ matrix.install-builder-name }}-installer-C*
335-
if: matrix.os == 'windows-2019' || matrix.os == 'macos-11'
335+
if: matrix.os == 'windows-2019' || matrix.os == 'macos-12'
336336

337337
# linux
338338
- name: Launch Bitrock installbuilder-20 with NO_CERT_INSTALL
@@ -359,7 +359,7 @@ jobs:
359359
browser: [safari, firefox, chrome]
360360
arch: [-amd64]
361361

362-
runs-on: macos-11
362+
runs-on: macos-12
363363
steps:
364364
- name: Download artifact
365365
uses: actions/download-artifact@v3

0 commit comments

Comments
 (0)