File tree Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Expand file tree Collapse file tree 1 file changed +14
-14
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
@@ -140,14 +140,14 @@ jobs:
140
140
working-directory : ${{ env.work_dir }}
141
141
run : |
142
142
# Build Android for only some matrices to skip redundant builds
143
- if [[ ${{ matrix.os }} == ubuntu ]]; then
143
+ if [[ ${{ matrix.os }} == ubuntu-latest ]]; then
144
144
if [[ ${{ matrix.type }} == view-* && ${{ matrix.language }} == *-objc ]] || [[ ${{ matrix.type }} == module-* && ${{ matrix.language }} == *-objc ]] || [[ ${{ matrix.type }} == module-* && ${{ matrix.language }} == cpp ]]; then
145
145
echo "android_build=1" >> $GITHUB_ENV
146
146
fi
147
147
fi
148
148
149
149
# Build iOS for only some matrices to skip redundant builds
150
- if [[ ${{ matrix.os }} == macos ]]; then
150
+ if [[ ${{ matrix.os }} == macos-14 ]]; then
151
151
if [[ ${{ matrix.type }} == view-* && ${{ matrix.language }} == java-* ]] || [[ ${{ matrix.type }} == module-* && ${{ matrix.language }} == java-* ]] || [[ ${{ matrix.type }} == module-* && ${{ matrix.language }} == cpp ]]; then
152
152
echo "ios_build=1" >> $GITHUB_ENV
153
153
fi
You can’t perform that action at this time.
0 commit comments