Commit 35f85a0
ci(android): free disk space before Android APK build
The build-android job intermittently fails with "No space left on
device" during `gradlew assembleDebug` (RN new arch is disk-heavy and
the ubuntu runner ships only ~14 GB free).
Add a cleanup step right after checkout that removes large preinstalled
toolchains we don't use (.NET, Haskell/GHC, CodeQL, boost, etc.), prunes
docker images, and drops swap — reclaiming ~20+ GB. It runs before the
Node/Java setup steps so their tool caches are untouched, and leaves the
Android SDK/NDK in place.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent ee6cfda commit 35f85a0
1 file changed
Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
55 | 74 | | |
56 | 75 | | |
57 | 76 | | |
| |||
0 commit comments