Skip to content

Commit 4300984

Browse files
committed
ci: use macos-latest
1 parent f28f78a commit 4300984

File tree

2 files changed

+20
-4
lines changed

2 files changed

+20
-4
lines changed

.github/workflows/npm_release.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@ env:
1111
jobs:
1212
build:
1313
name: Build
14-
runs-on: macos-13
14+
runs-on: macos-latest
15+
steps:
16+
- uses: maxim-lobanov/setup-xcode@v1
17+
with:
18+
xcode-version: latest-stable
1519
outputs:
1620
npm_version: ${{ steps.npm_version_output.outputs.NPM_VERSION }}
1721
npm_tag: ${{ steps.npm_version_output.outputs.NPM_TAG }}
@@ -68,7 +72,11 @@ jobs:
6872
path: dist/dSYMs
6973
test:
7074
name: Test
71-
runs-on: macos-13
75+
runs-on: macos-latest
76+
steps:
77+
- uses: maxim-lobanov/setup-xcode@v1
78+
with:
79+
xcode-version: latest-stable
7280
needs: build
7381
steps:
7482
- uses: actions/checkout@v3

.github/workflows/pull_request.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@ env:
77
jobs:
88
build:
99
name: Build
10-
runs-on: macos-13
10+
runs-on: macos-latest
11+
steps:
12+
- uses: maxim-lobanov/setup-xcode@v1
13+
with:
14+
xcode-version: latest-stable
1115
steps:
1216
- uses: actions/checkout@v3
1317
with:
@@ -52,7 +56,11 @@ jobs:
5256
path: dist/dSYMs
5357
test:
5458
name: Test
55-
runs-on: macos-13
59+
runs-on: macos-latest
60+
steps:
61+
- uses: maxim-lobanov/setup-xcode@v1
62+
with:
63+
xcode-version: latest-stable
5664
needs: build
5765
steps:
5866
- uses: actions/checkout@v3

0 commit comments

Comments
 (0)