File tree 2 files changed +15
-15
lines changed
packages/create-react-native-library/templates/common/$.github/workflows
2 files changed +15
-15
lines changed Original file line number Diff line number Diff line change 22
22
fail-fast : false
23
23
matrix :
24
24
os :
25
- - ubuntu
26
- - macos
25
+ - ubuntu-latest
26
+ - macos-14 # macos latest defaults to macos 12 at the moment.
27
27
type :
28
28
- module-legacy
29
29
- module-mixed
37
37
- kotlin-objc
38
38
- kotlin-swift
39
39
exclude :
40
- - os : macos
40
+ - os : macos-14
41
41
language : kotlin-objc
42
- - os : macos
42
+ - os : macos-14
43
43
language : kotlin-swift
44
44
- type : module-new
45
45
language : java-swift
@@ -58,33 +58,33 @@ jobs:
58
58
- type : view-mixed
59
59
language : kotlin-swift
60
60
include :
61
- - os : ubuntu
61
+ - os : ubuntu-latest
62
62
type : library
63
63
language : js
64
- - os : ubuntu
64
+ - os : ubuntu-latest
65
65
type : module-legacy
66
66
language : cpp
67
- - os : ubuntu
67
+ - os : ubuntu-latest
68
68
type : module-mixed
69
69
language : cpp
70
- - os : ubuntu
70
+ - os : ubuntu-latest
71
71
type : module-new
72
72
language : cpp
73
- - os : macos
73
+ - os : macos-14
74
74
type : module-legacy
75
75
language : cpp
76
- - os : macos
76
+ - os : macos-14
77
77
type : module-mixed
78
78
language : cpp
79
- - os : macos
79
+ - os : macos-14
80
80
type : module-new
81
81
language : cpp
82
82
83
83
concurrency :
84
84
group : ${{ github.workflow }}-${{ github.ref }}-${{ matrix.os }}-${{ matrix.type }}-${{ matrix.language }}
85
85
cancel-in-progress : true
86
86
87
- runs-on : ${{ matrix.os }}-latest
87
+ runs-on : ${{ matrix.os }}
88
88
89
89
steps :
90
90
- name : Checkout
@@ -138,14 +138,14 @@ jobs:
138
138
working-directory : ${{ env.work_dir }}
139
139
run : |
140
140
# Build Android for only some matrices to skip redundant builds
141
- if [[ ${{ matrix.os }} == ubuntu ]]; then
141
+ if [[ ${{ matrix.os }} == ubuntu-latest ]]; then
142
142
if [[ ${{ matrix.type }} == view-* && ${{ matrix.language }} == *-objc ]] || [[ ${{ matrix.type }} == module-* && ${{ matrix.language }} == *-objc ]] || [[ ${{ matrix.type }} == module-* && ${{ matrix.language }} == cpp ]]; then
143
143
echo "android_build=1" >> $GITHUB_ENV
144
144
fi
145
145
fi
146
146
147
147
# Build iOS for only some matrices to skip redundant builds
148
- if [[ ${{ matrix.os }} == macos ]]; then
148
+ if [[ ${{ matrix.os }} == macos-14 ]]; then
149
149
if [[ ${{ matrix.type }} == view-* && ${{ matrix.language }} == java-* ]] || [[ ${{ matrix.type }} == module-* && ${{ matrix.language }} == java-* ]] || [[ ${{ matrix.type }} == module-* && ${{ matrix.language }} == cpp ]]; then
150
150
echo "ios_build=1" >> $GITHUB_ENV
151
151
fi
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ jobs:
105
105
yarn turbo run build:android --cache-dir="${{ env.TURBO_CACHE_DIR }}"
106
106
107
107
build-ios :
108
- runs-on : macos-latest
108
+ runs-on : macos-14
109
109
env :
110
110
TURBO_CACHE_DIR : .turbo/ios
111
111
steps :
You can’t perform that action at this time.
0 commit comments