Skip to content

Commit f1ca3c9

Browse files
authored
ci: update macOS version in publish workflow to macos-13 (#1007)
* ci: update macOS version in workflows from macos-13
1 parent 1eb1d34 commit f1ca3c9

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
#use the strategy instead because we still use the native build
6666
strategy:
6767
matrix:
68-
os: [ubuntu-20.04, windows-2019, macos-12]
68+
os: [ubuntu-20.04, windows-2019, macos-13]
6969
arch: [-amd64]
7070
include:
7171
- os: windows-2019

.github/workflows/release.yml

+9-9
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
prerelease: ${{ steps.prerelease.outputs.IS_PRE }}
3333
strategy:
3434
matrix:
35-
os: [ubuntu-20.04, windows-2019, macos-12]
35+
os: [ubuntu-20.04, windows-2019, macos-13]
3636
arch: [amd64]
3737
include:
3838
- os: windows-2019
@@ -116,7 +116,7 @@ jobs:
116116
run: |
117117
task go:build
118118
mv ${{ env.PROJECT_NAME }} ${{ env.PROJECT_NAME }}_amd64
119-
if: matrix.os == 'macos-12'
119+
if: matrix.os == 'macos-13'
120120

121121
- name: Build the Agent for macos arm64
122122
env:
@@ -128,13 +128,13 @@ jobs:
128128
run: |
129129
task go:build
130130
mv ${{ env.PROJECT_NAME }} ${{ env.PROJECT_NAME }}_arm64
131-
if: matrix.os == 'macos-12'
131+
if: matrix.os == 'macos-13'
132132

133133
- name: Create universal macos executable
134134
run: |
135135
lipo -create -output ${{ env.PROJECT_NAME }} ${{ env.PROJECT_NAME }}_amd64 ${{ env.PROJECT_NAME }}_arm64
136136
rm ${{ env.PROJECT_NAME }}_amd64 ${{ env.PROJECT_NAME }}_arm64
137-
if: matrix.os == 'macos-12'
137+
if: matrix.os == 'macos-13'
138138

139139
# this will create `public/` dir with compressed full bin (<version>/<os>-<arch>.gz) and a json file
140140
- name: Create autoupdate files
@@ -146,7 +146,7 @@ jobs:
146146
run: |
147147
cp darwin-amd64.json darwin-arm64.json
148148
cp ${TAG_VERSION}/darwin-amd64.gz ${TAG_VERSION}/darwin-arm64.gz
149-
if: matrix.os == 'macos-12' && steps.prerelease.outputs.IS_PRE != 'true'
149+
if: matrix.os == 'macos-13' && steps.prerelease.outputs.IS_PRE != 'true'
150150

151151
- name: Create autoupdate files for win32
152152
run: go-selfupdate -platform windows-${{ matrix.arch }} ${{ env.PROJECT_NAME }}${{ matrix.ext }} ${TAG_VERSION}
@@ -181,7 +181,7 @@ jobs:
181181
matrix:
182182
arch: [amd64, arm64]
183183

184-
runs-on: macos-12
184+
runs-on: macos-13
185185
env:
186186
EXE_PATH: "skel/ArduinoCloudAgent.app/Contents/MacOS/"
187187

@@ -195,7 +195,7 @@ jobs:
195195
- name: Download artifact
196196
uses: actions/download-artifact@v4
197197
with:
198-
name: ${{ env.PROJECT_NAME }}-macos-12-amd64 # if we want to support darwin-arm64 in the future for real this has to change.
198+
name: ${{ env.PROJECT_NAME }}-macos-13-amd64 # if we want to support darwin-arm64 in the future for real this has to change.
199199
path: ${{ env.EXE_PATH }}
200200

201201
- name: Remove placeholder file
@@ -252,7 +252,7 @@ jobs:
252252
matrix:
253253
arch: [amd64, arm64]
254254

255-
runs-on: macos-12
255+
runs-on: macos-13
256256
env:
257257
GON_PATH: ${{ github.workspace }}/gon
258258
needs: [build, create-macos-bundle]
@@ -509,7 +509,7 @@ jobs:
509509
matrix:
510510
arch: [amd64]
511511

512-
runs-on: macos-12
512+
runs-on: macos-13
513513
steps:
514514
- name: Checkout repo with icons/background
515515
uses: actions/checkout@v4

0 commit comments

Comments
 (0)