22
22
build :
23
23
strategy :
24
24
matrix :
25
- os : [ubuntu-18.04, windows-2019, macos-11 ]
25
+ os : [ubuntu-18.04, windows-2019, macos-12 ]
26
26
arch : [-amd64]
27
27
include :
28
28
- os : windows-2019
@@ -118,7 +118,7 @@ jobs:
118
118
CGO_CFLAGS : -mmacosx-version-min=10.11
119
119
CGO_LDFLAGS : -mmacosx-version-min=10.11
120
120
run : task go:build
121
- if : matrix.os == 'macos-11 '
121
+ if : matrix.os == 'macos-12 '
122
122
123
123
# this will create `public/` dir with compressed full bin (<version>/<os>-<arch>.gz) and a json file
124
124
- name : Create autoupdate files
@@ -150,7 +150,7 @@ jobs:
150
150
needs : build
151
151
strategy :
152
152
matrix : # to allow support for future architectures
153
- os : [macos-11 ]
153
+ os : [macos-12 ]
154
154
arch : [-amd64]
155
155
156
156
runs-on : ${{ matrix.os }}
@@ -231,7 +231,7 @@ jobs:
231
231
strategy :
232
232
fail-fast : false # if one os is failing continue nonetheless
233
233
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 ]
235
235
arch : [-amd64]
236
236
include :
237
237
- os : ubuntu-18.04
@@ -250,7 +250,7 @@ jobs:
250
250
executable-path : artifacts/windows/
251
251
extension : .exe
252
252
installer-extension : .exe
253
- - os : macos-11
253
+ - os : macos-12
254
254
browser : safari
255
255
install-builder-name : osx
256
256
executable-path : ' skel/ArduinoCreateAgent.app/Contents/MacOS/'
@@ -275,7 +275,7 @@ jobs:
275
275
# zip artifacts do not mantain executable permission
276
276
- name : Make executable
277
277
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 '
279
279
280
280
- name : Rename executable to Arduino_Create_Agent
281
281
run : mv -v ${{ matrix.executable-path }}arduino-create-agent${{ matrix.extension }} ${{ matrix.executable-path }}Arduino_Create_Agent${{ matrix.extension }}
@@ -286,7 +286,7 @@ jobs:
286
286
287
287
- name : get year
288
288
run : echo "YEAR=$(date "+%Y")" >> $GITHUB_ENV
289
- if : matrix.os == 'macos-11 '
289
+ if : matrix.os == 'macos-12 '
290
290
291
291
- name : Generate Info.plist for MacOS
292
292
run : |
@@ -309,7 +309,7 @@ jobs:
309
309
310
310
</dict></plist>
311
311
EOF
312
- if : matrix.os == 'macos-11 '
312
+ if : matrix.os == 'macos-12 '
313
313
314
314
- name : Save InstallBuilder license to file
315
315
run : echo "${{ secrets.INSTALLER_LICENSE }}" > /tmp/license.xml
@@ -320,7 +320,7 @@ jobs:
320
320
321
321
- name : Save macos signing certificate to file
322
322
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 '
324
324
325
325
# win(edge),mac(safari) -> CERT_INSTALL and win,mac:(ff,chrome) -> CHOICE_CERT_INSTALL
326
326
# installbuilder reads the env vars with certs paths and use it to sign the installer.
@@ -332,7 +332,7 @@ jobs:
332
332
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}}
333
333
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}}
334
334
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 '
336
336
337
337
# linux
338
338
- name : Launch Bitrock installbuilder-20 with NO_CERT_INSTALL
@@ -359,7 +359,7 @@ jobs:
359
359
browser : [safari, firefox, chrome]
360
360
arch : [-amd64]
361
361
362
- runs-on : macos-11
362
+ runs-on : macos-12
363
363
steps :
364
364
- name : Download artifact
365
365
uses : actions/download-artifact@v3
0 commit comments