From 7e9a3c553dd14a312ab3c2c9424c00f7facd2ea3 Mon Sep 17 00:00:00 2001 From: Antonis Lilis Date: Wed, 27 Aug 2025 16:47:29 +0200 Subject: [PATCH 1/2] chore(ci): v7: Handle GH runner image deprecations --- .github/workflows/e2e-v2.yml | 6 +++--- .github/workflows/native-tests.yml | 2 +- .github/workflows/sample-application-expo.yml | 2 +- .github/workflows/sample-application.yml | 4 ++-- .github/workflows/testflight.yml | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/e2e-v2.yml b/.github/workflows/e2e-v2.yml index 1800090478..6362f639a0 100644 --- a/.github/workflows/e2e-v2.yml +++ b/.github/workflows/e2e-v2.yml @@ -173,7 +173,7 @@ jobs: - platform: ios rn-version: '0.80.2' xcode-version: '16.2' - runs-on: macos-15 + runs-on: macos-14 - platform: ios rn-version: '0.65.3' xcode-version: '14.2' @@ -310,10 +310,10 @@ jobs: include: - platform: ios rn-version: '0.80.2' - runs-on: macos-15 + runs-on: macos-14 - platform: ios rn-version: '0.65.3' - runs-on: macos-15 + runs-on: macos-14 - platform: android runs-on: ubuntu-latest exclude: diff --git a/.github/workflows/native-tests.yml b/.github/workflows/native-tests.yml index 9ec519d2f9..2c9cfb5c89 100644 --- a/.github/workflows/native-tests.yml +++ b/.github/workflows/native-tests.yml @@ -18,7 +18,7 @@ jobs: test-ios: name: ios - runs-on: macos-15 + runs-on: macos-14 needs: [diff_check] if: ${{ needs.diff_check.outputs.skip_ci != 'true' }} steps: diff --git a/.github/workflows/sample-application-expo.yml b/.github/workflows/sample-application-expo.yml index 5830f3e5fd..2b616ebacb 100644 --- a/.github/workflows/sample-application-expo.yml +++ b/.github/workflows/sample-application-expo.yml @@ -35,7 +35,7 @@ jobs: build-type: ['dev', 'production'] include: - platform: ios - runs-on: macos-15 + runs-on: macos-14 - platform: android runs-on: ubuntu-latest - platform: web diff --git a/.github/workflows/sample-application.yml b/.github/workflows/sample-application.yml index 0b08d8f6eb..35aad4389e 100644 --- a/.github/workflows/sample-application.yml +++ b/.github/workflows/sample-application.yml @@ -43,7 +43,7 @@ jobs: build-type: ['dev', 'production'] include: - platform: ios - runs-on: macos-15 + runs-on: macos-14 - platform: macos runs-on: macos-15 - platform: android @@ -218,7 +218,7 @@ jobs: matrix: include: - platform: ios - runs-on: macos-15 + runs-on: macos-14 rn-architecture: 'new' ios-use-frameworks: 'no-frameworks' build-type: 'production' diff --git a/.github/workflows/testflight.yml b/.github/workflows/testflight.yml index 06bba8da11..d30cc22003 100644 --- a/.github/workflows/testflight.yml +++ b/.github/workflows/testflight.yml @@ -14,7 +14,7 @@ jobs: upload_to_testflight: name: Build and Upload React Native Sample to Testflight - runs-on: macos-15 + runs-on: macos-14 needs: [diff_check] if: ${{ needs.diff_check.outputs.skip_ci != 'true' }} steps: From 3f5241fbe1312c5b2f5db90965860875fbc48634 Mon Sep 17 00:00:00 2001 From: Antonis Lilis Date: Wed, 27 Aug 2025 20:33:13 +0200 Subject: [PATCH 2/2] Set specific xcode version for expo (see https://github.com/expo/expo/issues/36830) --- .github/workflows/sample-application-expo.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/sample-application-expo.yml b/.github/workflows/sample-application-expo.yml index 2b616ebacb..0dc2f45cc6 100644 --- a/.github/workflows/sample-application-expo.yml +++ b/.github/workflows/sample-application-expo.yml @@ -35,6 +35,7 @@ jobs: build-type: ['dev', 'production'] include: - platform: ios + xcode-version: '16.2' runs-on: macos-14 - platform: android runs-on: ubuntu-latest @@ -70,6 +71,9 @@ jobs: - name: Gradle cache uses: gradle/gradle-build-action@ac2d340dc04d9e1113182899e983b5400c17cda1 # v3.5.0 + - run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode-version }}.app/Contents/Developer + if: ${{ matrix.platform == 'ios' }} + - name: Setup Global Xcode Tools if: ${{ matrix.platform == 'ios' }} run: which xcbeautify || brew install xcbeautify