Skip to content

Commit ba3b275

Browse files
committed
🔧 chore(ci): centralize Xcode version configuration
Extract Xcode version to environment variable for easier maintenance across CI and deployment workflows.
1 parent 2dba4ff commit ba3b275

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

‎.github/workflows/snutt-ci.yml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
- "SNUTT/**"
99
- ".github/workflows/SNUTT/**"
1010

11+
env:
12+
XCODE_VERSION: "26.2"
13+
1114
jobs:
1215
check-and-test:
1316
runs-on: macos-latest
@@ -24,7 +27,7 @@ jobs:
2427
- name: Setup Xcode
2528
uses: maxim-lobanov/setup-xcode@v1
2629
with:
27-
xcode-version: "26.0.1"
30+
xcode-version: ${{ env.XCODE_VERSION }}
2831

2932
- name: Create XCConfig files from secrets
3033
run: |

‎.github/workflows/snutt-deploy.yml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
- "testflight/v*"
88
- "testflight/dev/v*"
99

10+
env:
11+
XCODE_VERSION: "26.2"
12+
1013
jobs:
1114
deploy:
1215
runs-on: macos-latest
@@ -57,7 +60,7 @@ jobs:
5760
- name: Setup Xcode
5861
uses: maxim-lobanov/setup-xcode@v1
5962
with:
60-
xcode-version: "26.0.1"
63+
xcode-version: ${{ env.XCODE_VERSION }}
6164

6265
- name: Setup mise (Tuist)
6366
uses: jdx/mise-action@v2

0 commit comments

Comments
 (0)