Commit e9e3615
authored
fix(ci): upgrade android-actions/setup-android from v2 to v3 (#169)
* fix(ci): upgrade android-actions/setup-android from v2 to v3
v2 fails to accept new Android SDK license agreements (GoogleTV and XR
emulator licenses) on Ubicloud runners that lack pre-accepted licenses.
v3 handles license acceptance more robustly via piped input.
Fixes the Build apk/aab job failure on master.
* fix(ci): pin ANDROID_AVD_HOME for setup-android@v3 compatibility
android-actions/setup-android@v3 no longer sets ANDROID_SDK_HOME (deprecated
by Google), which caused avdmanager to write the AVD to a location the emulator
binary couldn't find. Explicitly set ANDROID_AVD_HOME=$HOME/.android/avd before
running avdmanager and persist it to GITHUB_ENV for the Start emulator step.
Also adds ls verification so future failures show the AVD directory state.1 parent edca195 commit e9e3615
1 file changed
Lines changed: 17 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
199 | | - | |
| 199 | + | |
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
| |||
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
284 | | - | |
| 284 | + | |
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
| |||
344 | 344 | | |
345 | 345 | | |
346 | 346 | | |
347 | | - | |
| 347 | + | |
348 | 348 | | |
349 | 349 | | |
350 | 350 | | |
351 | 351 | | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
352 | 361 | | |
353 | 362 | | |
354 | 363 | | |
355 | 364 | | |
356 | 365 | | |
357 | 366 | | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
358 | 371 | | |
359 | 372 | | |
360 | 373 | | |
| |||
0 commit comments