|
5 | 5 | branches: [ main, ohos-main ] |
6 | 6 | paths: |
7 | 7 | - "bindings/flutter/**" |
| 8 | + - "core" |
8 | 9 | - "examples/flutter_*/**" |
9 | 10 | - "pubspec.yaml" |
10 | 11 | - ".github/workflows/flutter-ci.yml" |
11 | 12 | pull_request: |
12 | 13 | branches: [ main, ohos-main ] |
13 | 14 | paths: |
14 | 15 | - "bindings/flutter/**" |
| 16 | + - "core" |
15 | 17 | - "examples/flutter_*/**" |
16 | 18 | - "pubspec.yaml" |
17 | 19 | - ".github/workflows/flutter-ci.yml" |
|
25 | 27 | - name: Checkout repository |
26 | 28 | uses: actions/checkout@v4 |
27 | 29 |
|
28 | | - # Only the Flutter binding's submodules: the root ones (core, other |
29 | | - # bindings) are not needed here and some use SSH URLs. |
30 | | - - name: Checkout Flutter submodules |
31 | | - run: git submodule update --init --recursive -- bindings/flutter |
| 30 | + - name: Checkout core |
| 31 | + run: git submodule update --init core |
32 | 32 |
|
33 | 33 | - name: Setup Flutter |
34 | 34 | uses: subosito/flutter-action@v2 |
|
67 | 67 | - name: Checkout repository |
68 | 68 | uses: actions/checkout@v4 |
69 | 69 |
|
70 | | - # Only the Flutter binding's submodules: the root ones (core, other |
71 | | - # bindings) are not needed here and some use SSH URLs. |
72 | | - - name: Checkout Flutter submodules |
73 | | - run: git submodule update --init --recursive -- bindings/flutter |
| 70 | + - name: Checkout core |
| 71 | + run: git submodule update --init core |
74 | 72 |
|
75 | 73 | - name: Setup Flutter |
76 | 74 | uses: subosito/flutter-action@v2 |
@@ -110,10 +108,8 @@ jobs: |
110 | 108 | - name: Checkout repository |
111 | 109 | uses: actions/checkout@v4 |
112 | 110 |
|
113 | | - # Only the Flutter binding's submodules: the root ones (core, other |
114 | | - # bindings) are not needed here and some use SSH URLs. |
115 | | - - name: Checkout Flutter submodules |
116 | | - run: git submodule update --init --recursive -- bindings/flutter |
| 111 | + - name: Checkout core |
| 112 | + run: git submodule update --init core |
117 | 113 |
|
118 | 114 | - name: Setup Flutter |
119 | 115 | uses: subosito/flutter-action@v2 |
@@ -157,10 +153,8 @@ jobs: |
157 | 153 | - name: Checkout repository |
158 | 154 | uses: actions/checkout@v4 |
159 | 155 |
|
160 | | - # Only the Flutter binding's submodules: the root ones (core, other |
161 | | - # bindings) are not needed here and some use SSH URLs. |
162 | | - - name: Checkout Flutter submodules |
163 | | - run: git submodule update --init --recursive -- bindings/flutter |
| 156 | + - name: Checkout core |
| 157 | + run: git submodule update --init core |
164 | 158 |
|
165 | 159 | - name: Setup Flutter |
166 | 160 | uses: subosito/flutter-action@v2 |
@@ -198,10 +192,8 @@ jobs: |
198 | 192 | - name: Checkout repository |
199 | 193 | uses: actions/checkout@v4 |
200 | 194 |
|
201 | | - # Only the Flutter binding's submodules: the root ones (core, other |
202 | | - # bindings) are not needed here and some use SSH URLs. |
203 | | - - name: Checkout Flutter submodules |
204 | | - run: git submodule update --init --recursive -- bindings/flutter |
| 195 | + - name: Checkout core |
| 196 | + run: git submodule update --init core |
205 | 197 |
|
206 | 198 | - name: Setup Flutter |
207 | 199 | uses: subosito/flutter-action@v2 |
@@ -253,10 +245,8 @@ jobs: |
253 | 245 | - name: Checkout repository |
254 | 246 | uses: actions/checkout@v4 |
255 | 247 |
|
256 | | - # Only the Flutter binding's submodules: the root ones (core, other |
257 | | - # bindings) are not needed here and some use SSH URLs. |
258 | | - - name: Checkout Flutter submodules |
259 | | - run: git submodule update --init --recursive -- bindings/flutter |
| 248 | + - name: Checkout core |
| 249 | + run: git submodule update --init core |
260 | 250 |
|
261 | 251 | - name: Setup Flutter |
262 | 252 | uses: subosito/flutter-action@v2 |
@@ -294,10 +284,8 @@ jobs: |
294 | 284 | - name: Checkout repository |
295 | 285 | uses: actions/checkout@v4 |
296 | 286 |
|
297 | | - # Only the Flutter binding's submodules: the root ones (core, other |
298 | | - # bindings) are not needed here and some use SSH URLs. |
299 | | - - name: Checkout Flutter submodules |
300 | | - run: git submodule update --init --recursive -- bindings/flutter |
| 287 | + - name: Checkout core |
| 288 | + run: git submodule update --init core |
301 | 289 |
|
302 | 290 | - name: Setup Flutter |
303 | 291 | uses: subosito/flutter-action@v2 |
|
0 commit comments