File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
packages/create-react-native-library/templates/common/$.github/workflows Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 27
27
fail-fast : false
28
28
matrix :
29
29
os :
30
- - ubuntu-latest
31
- - macos-14 # macos latest defaults to macos 12 at the moment.
30
+ - ubuntu
31
+ - macos
32
32
type :
33
33
- turbo-module
34
34
- fabric-view
56
56
group : ${{ github.workflow }}-${{ github.ref }}-${{ matrix.os }}-${{ matrix.type }}-${{ matrix.language }}
57
57
cancel-in-progress : true
58
58
59
- runs-on : ${{ matrix.os }}
59
+ runs-on : ${{ matrix.os }}-latest
60
60
61
61
steps :
62
62
- name : Checkout
@@ -129,14 +129,14 @@ jobs:
129
129
working-directory : ${{ env.work_dir }}
130
130
run : |
131
131
# Build Android for only some matrices to skip redundant builds
132
- if [[ ${{ matrix.os }} == ubuntu-latest ]]; then
132
+ if [[ ${{ matrix.os }} == ubuntu ]]; then
133
133
if [[ ${{ matrix.type }} == *-view && ${{ matrix.language }} == *-objc ]] || [[ ${{ matrix.type }} == *-module && ${{ matrix.language }} == *-objc ]] || [[ ${{ matrix.type }} == *-module && ${{ matrix.language }} == cpp ]]; then
134
134
echo "android_build=1" >> $GITHUB_ENV
135
135
fi
136
136
fi
137
137
138
138
# Build iOS for only some matrices to skip redundant builds
139
- if [[ ${{ matrix.os }} == macos-14 ]]; then
139
+ if [[ ${{ matrix.os }} == macos ]]; then
140
140
if [[ ${{ matrix.type }} == *-view && ${{ matrix.language }} == kotlin-* ]] || [[ ${{ matrix.type }} == *-module && ${{ matrix.language }} == kotlin-* ]] || [[ ${{ matrix.type }} == *-module && ${{ matrix.language }} == cpp ]]; then
141
141
echo "ios_build=1" >> $GITHUB_ENV
142
142
fi
Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ jobs:
108
108
yarn turbo run build:android --cache-dir="${{ env.TURBO_CACHE_DIR }}"
109
109
110
110
build-ios :
111
- runs-on : macos-14
111
+ runs-on : macos-latest
112
112
env :
113
113
TURBO_CACHE_DIR : .turbo/ios
114
114
steps :
You can’t perform that action at this time.
0 commit comments