From 29907ed1d0176a6546e8e42bd3d4110459382ef9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Burak=20Gu=CC=88ner?= Date: Fri, 9 May 2025 16:14:19 +0300 Subject: [PATCH 1/3] update nitro modules version --- packages/create-react-native-library/src/constants.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/create-react-native-library/src/constants.ts b/packages/create-react-native-library/src/constants.ts index 479bcda1..1cecfd74 100644 --- a/packages/create-react-native-library/src/constants.ts +++ b/packages/create-react-native-library/src/constants.ts @@ -1,3 +1,3 @@ export const FALLBACK_BOB_VERSION = '0.40.8'; -export const FALLBACK_NITRO_MODULES_VERSION = '0.22.1'; +export const FALLBACK_NITRO_MODULES_VERSION = '0.25.2'; export const SUPPORTED_REACT_NATIVE_VERSION = '0.79.2'; From 3ee39be75df6c1e226120da537ba8a8f5ee71d63 Mon Sep 17 00:00:00 2001 From: Satyajit Sahoo Date: Tue, 13 May 2025 17:47:25 +0200 Subject: [PATCH 2/3] ci: update cocoapod cache key --- .github/workflows/build-templates.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-templates.yml b/.github/workflows/build-templates.yml index 10f6ce3d..60dabbcf 100644 --- a/.github/workflows/build-templates.yml +++ b/.github/workflows/build-templates.yml @@ -239,8 +239,9 @@ jobs: path: | ${{ env.work_dir }}/**/ios/Pods ${{ env.work_dir }}/**/ios/Podfile.lock - key: ${{ runner.os }}-library-cocoapods-${{ hashFiles(format('{0}/example/ios/Podfile', env.work_dir)) }}-${{ hashFiles(format('{0}/yarn.lock', env.work_dir)) }} + key: ${{ runner.os }}-library-cocoapods-${{ hashFiles(format('{0}/example/ios/Podfile', env.work_dir)) }}-${{ hashFiles(format('{0}/yarn.lock', env.work_dir)) }}-${{ hashFiles(format('{0}/**/*ViewNativeComponent.ts', env.work_dir), format('{0}/**/Native*.ts', env.work_dir), format('{0}/**/*.nitro.ts', env.work_dir)) }} restore-keys: | + ${{ runner.os }}-library-cocoapods-${{ hashFiles(format('{0}/example/ios/Podfile', env.work_dir)) }}-${{ hashFiles(format('{0}/yarn.lock', env.work_dir)) }}- ${{ runner.os }}-library-cocoapods-${{ hashFiles(format('{0}/example/ios/Podfile', env.work_dir)) }}- ${{ runner.os }}-library-cocoapods- From 26b87460daa7ec4cd7a4407f367041ec47172088 Mon Sep 17 00:00:00 2001 From: Satyajit Sahoo Date: Tue, 13 May 2025 18:12:52 +0200 Subject: [PATCH 3/3] ci: use xcode 16.3 for builds --- .github/workflows/build-templates.yml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build-templates.yml b/.github/workflows/build-templates.yml index 60dabbcf..062c227d 100644 --- a/.github/workflows/build-templates.yml +++ b/.github/workflows/build-templates.yml @@ -22,7 +22,7 @@ on: jobs: build: env: - XCODE_VERSION: 16.2 + XCODE_VERSION: 16.3 TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} TURBO_TEAM: ${{ secrets.TURBO_TEAM }} @@ -30,8 +30,8 @@ jobs: fail-fast: false matrix: os: - - ubuntu - - macos + - ubuntu-latest + - macos-15 type: - name: turbo-module language: kotlin-objc @@ -40,15 +40,16 @@ jobs: - name: nitro-module language: kotlin-swift include: - - os: ubuntu - type.name: library - type.language: js + - os: ubuntu-latest + type: + name: library + language: js concurrency: group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.os }}-${{ matrix.type.name }}-${{ matrix.type.language }} cancel-in-progress: true - runs-on: ${{ matrix.os }}-latest + runs-on: ${{ matrix.os }} steps: - name: Checkout @@ -130,14 +131,14 @@ jobs: working-directory: ${{ env.work_dir }} run: | # Build Android for only some matrices to skip redundant builds - if [[ ${{ matrix.os }} == ubuntu ]]; then + if [[ ${{ matrix.os }} =~ ubuntu ]]; then if [[ ${{ matrix.type.name }} == *-view && ${{ matrix.type.language }} == *-objc ]] || [[ ${{ matrix.type.name }} == *-module && ${{ matrix.type.language }} == *-objc ]]; then echo "android_build=1" >> $GITHUB_ENV fi fi # Build iOS for only some matrices to skip redundant builds - if [[ ${{ matrix.os }} == macos ]]; then + if [[ ${{ matrix.os }} =~ macos ]]; then if [[ ${{ matrix.type.name }} == *-view && ${{ matrix.type.language }} == kotlin-* ]] || [[ ${{ matrix.type.name }} == *-module && ${{ matrix.type.language }} == kotlin-* ]]; then echo "ios_build=1" >> $GITHUB_ENV fi