22
22
jobs :
23
23
build :
24
24
env :
25
- XCODE_VERSION : 16.2
25
+ XCODE_VERSION : 16.3
26
26
TURBO_TOKEN : ${{ secrets.TURBO_TOKEN }}
27
27
TURBO_TEAM : ${{ secrets.TURBO_TEAM }}
28
28
29
29
strategy :
30
30
fail-fast : false
31
31
matrix :
32
32
os :
33
- - ubuntu
34
- - macos
33
+ - ubuntu-latest
34
+ - macos-15
35
35
type :
36
36
- name : turbo-module
37
37
language : kotlin-objc
@@ -40,15 +40,16 @@ jobs:
40
40
- name : nitro-module
41
41
language : kotlin-swift
42
42
include :
43
- - os : ubuntu
44
- type.name : library
45
- type.language : js
43
+ - os : ubuntu-latest
44
+ type :
45
+ name : library
46
+ language : js
46
47
47
48
concurrency :
48
49
group : ${{ github.workflow }}-${{ github.ref }}-${{ matrix.os }}-${{ matrix.type.name }}-${{ matrix.type.language }}
49
50
cancel-in-progress : true
50
51
51
- runs-on : ${{ matrix.os }}-latest
52
+ runs-on : ${{ matrix.os }}
52
53
53
54
steps :
54
55
- name : Checkout
@@ -130,14 +131,14 @@ jobs:
130
131
working-directory : ${{ env.work_dir }}
131
132
run : |
132
133
# Build Android for only some matrices to skip redundant builds
133
- if [[ ${{ matrix.os }} == ubuntu ]]; then
134
+ if [[ ${{ matrix.os }} =~ ubuntu ]]; then
134
135
if [[ ${{ matrix.type.name }} == *-view && ${{ matrix.type.language }} == *-objc ]] || [[ ${{ matrix.type.name }} == *-module && ${{ matrix.type.language }} == *-objc ]]; then
135
136
echo "android_build=1" >> $GITHUB_ENV
136
137
fi
137
138
fi
138
139
139
140
# Build iOS for only some matrices to skip redundant builds
140
- if [[ ${{ matrix.os }} == macos ]]; then
141
+ if [[ ${{ matrix.os }} =~ macos ]]; then
141
142
if [[ ${{ matrix.type.name }} == *-view && ${{ matrix.type.language }} == kotlin-* ]] || [[ ${{ matrix.type.name }} == *-module && ${{ matrix.type.language }} == kotlin-* ]]; then
142
143
echo "ios_build=1" >> $GITHUB_ENV
143
144
fi
@@ -239,8 +240,9 @@ jobs:
239
240
path : |
240
241
${{ env.work_dir }}/**/ios/Pods
241
242
${{ env.work_dir }}/**/ios/Podfile.lock
242
- key : ${{ runner.os }}-library-cocoapods-${{ hashFiles(format('{0}/example/ios/Podfile', env.work_dir)) }}-${{ hashFiles(format('{0}/yarn.lock', env.work_dir)) }}
243
+ 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)) }}
243
244
restore-keys : |
245
+ ${{ runner.os }}-library-cocoapods-${{ hashFiles(format('{0}/example/ios/Podfile', env.work_dir)) }}-${{ hashFiles(format('{0}/yarn.lock', env.work_dir)) }}-
244
246
${{ runner.os }}-library-cocoapods-${{ hashFiles(format('{0}/example/ios/Podfile', env.work_dir)) }}-
245
247
${{ runner.os }}-library-cocoapods-
246
248
0 commit comments