Skip to content

Commit a675500

Browse files
committed
ci: version consistency
1 parent 8c8ae67 commit a675500

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.github/workflows/npm_release.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77

88
env:
99
NPM_TAG: "next"
10+
XCODE_VERSION: "^15.0"
1011

1112
jobs:
1213
build:
@@ -18,7 +19,7 @@ jobs:
1819
steps:
1920
- uses: maxim-lobanov/setup-xcode@v1
2021
with:
21-
xcode-version: "^15.0"
22+
xcode-version: ${{env.XCODE_VERSION}}
2223
- uses: actions/checkout@v3
2324
with:
2425
fetch-depth: 0
@@ -71,12 +72,12 @@ jobs:
7172
path: dist/dSYMs
7273
test:
7374
name: Test
74-
runs-on: macos-13
75+
runs-on: macos-14
7576
needs: build
7677
steps:
7778
- uses: maxim-lobanov/setup-xcode@v1
7879
with:
79-
xcode-version: "^15.0"
80+
xcode-version: ${{env.XCODE_VERSION}}
8081
- uses: actions/checkout@v3
8182
- name: LLVM cache
8283
uses: actions/cache@v3

.github/workflows/pull_request.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ on:
33

44
env:
55
NPM_TAG: "pr"
6+
XCODE_VERSION: "^15.0"
67

78
jobs:
89
build:
@@ -11,7 +12,7 @@ jobs:
1112
steps:
1213
- uses: maxim-lobanov/setup-xcode@v1
1314
with:
14-
xcode-version: "^15.0"
15+
xcode-version: ${{env.XCODE_VERSION}}
1516
- uses: actions/checkout@v3
1617
with:
1718
fetch-depth: 0
@@ -55,12 +56,12 @@ jobs:
5556
path: dist/dSYMs
5657
test:
5758
name: Test
58-
runs-on: macos-latest
59+
runs-on: macos-14
5960
needs: build
6061
steps:
6162
- uses: maxim-lobanov/setup-xcode@v1
6263
with:
63-
xcode-version: latest-stable
64+
xcode-version: ${{env.XCODE_VERSION}}
6465
- uses: actions/checkout@v3
6566
- name: LLVM cache
6667
uses: actions/cache@v3

0 commit comments

Comments
 (0)