File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
packages/create-react-native-library/templates/common/$.github/workflows Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 2727 fail-fast : false
2828 matrix :
2929 os :
30- - ubuntu-latest
31- - macos-14 # macos latest defaults to macos 12 at the moment.
30+ - ubuntu
31+ - macos
3232 type :
3333 - turbo-module
3434 - fabric-view
@@ -48,15 +48,15 @@ jobs:
4848 - type : legacy-view
4949 language : cpp
5050 include :
51- - os : ubuntu-latest
51+ - os : ubuntu
5252 type : library
5353 language : js
5454
5555 concurrency :
5656 group : ${{ github.workflow }}-${{ github.ref }}-${{ matrix.os }}-${{ matrix.type }}-${{ matrix.language }}
5757 cancel-in-progress : true
5858
59- runs-on : ${{ matrix.os }}
59+ runs-on : ${{ matrix.os }}-latest
6060
6161 steps :
6262 - name : Checkout
@@ -129,14 +129,14 @@ jobs:
129129 working-directory : ${{ env.work_dir }}
130130 run : |
131131 # Build Android for only some matrices to skip redundant builds
132- if [[ ${{ matrix.os }} == ubuntu-latest ]]; then
132+ if [[ ${{ matrix.os }} == ubuntu ]]; then
133133 if [[ ${{ matrix.type }} == *-view && ${{ matrix.language }} == *-objc ]] || [[ ${{ matrix.type }} == *-module && ${{ matrix.language }} == *-objc ]] || [[ ${{ matrix.type }} == *-module && ${{ matrix.language }} == cpp ]]; then
134134 echo "android_build=1" >> $GITHUB_ENV
135135 fi
136136 fi
137137
138138 # Build iOS for only some matrices to skip redundant builds
139- if [[ ${{ matrix.os }} == macos-14 ]]; then
139+ if [[ ${{ matrix.os }} == macos ]]; then
140140 if [[ ${{ matrix.type }} == *-view && ${{ matrix.language }} == kotlin-* ]] || [[ ${{ matrix.type }} == *-module && ${{ matrix.language }} == kotlin-* ]] || [[ ${{ matrix.type }} == *-module && ${{ matrix.language }} == cpp ]]; then
141141 echo "ios_build=1" >> $GITHUB_ENV
142142 fi
Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ jobs:
108108 yarn turbo run build:android --cache-dir="${{ env.TURBO_CACHE_DIR }}"
109109
110110 build-ios :
111- runs-on : macos-14
111+ runs-on : macos-latest
112112 env :
113113 TURBO_CACHE_DIR : .turbo/ios
114114 steps :
You can’t perform that action at this time.
0 commit comments