Skip to content

Commit 934457a

Browse files
authored
chore(ci): Handle GH runner image deprecations (#5079)
* chore(ci): Bump iOS simulator to 18.6 * Revert "chore(ci): Bump iOS simulator to 18.6" This reverts commit 6b38cd2. * Test macos-14 image * Test macos-14 image * Select xcode version
1 parent e2fa43d commit 934457a

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

.github/workflows/e2e-v2.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ jobs:
173173
- platform: ios
174174
rn-version: '0.80.2'
175175
xcode-version: '16.2'
176-
runs-on: macos-15
176+
runs-on: macos-14
177177
- platform: ios
178178
rn-version: '0.65.3'
179179
xcode-version: '14.2'
@@ -310,7 +310,7 @@ jobs:
310310
include:
311311
- platform: ios
312312
rn-version: '0.80.2'
313-
runs-on: macos-15
313+
runs-on: macos-14
314314
- platform: ios
315315
rn-version: '0.65.3'
316316
runs-on: macos-15

.github/workflows/sample-application-expo.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ jobs:
3535
build-type: ['dev', 'production']
3636
include:
3737
- platform: ios
38-
runs-on: macos-15
38+
xcode-version: '16.2'
39+
runs-on: macos-14
3940
- platform: android
4041
runs-on: ubuntu-latest
4142
- platform: web
@@ -70,6 +71,9 @@ jobs:
7071
- name: Gradle cache
7172
uses: gradle/gradle-build-action@ac2d340dc04d9e1113182899e983b5400c17cda1 # v3.5.0
7273

74+
- run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode-version }}.app/Contents/Developer
75+
if: ${{ matrix.platform == 'ios' }}
76+
7377
- name: Setup Global Xcode Tools
7478
if: ${{ matrix.platform == 'ios' }}
7579
run: which xcbeautify || brew install xcbeautify

.github/workflows/sample-application.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
build-type: ['dev', 'production']
4444
include:
4545
- platform: ios
46-
runs-on: macos-15
46+
runs-on: macos-14
4747
- platform: macos
4848
runs-on: macos-15
4949
- platform: android
@@ -218,7 +218,7 @@ jobs:
218218
matrix:
219219
include:
220220
- platform: ios
221-
runs-on: macos-15
221+
runs-on: macos-14
222222
rn-architecture: 'new'
223223
ios-use-frameworks: 'no-frameworks'
224224
build-type: 'production'

0 commit comments

Comments
 (0)