Commit 384f7f2
authored
[copilot] free up disk space by removing pre-installed Android SDK (#10629)
Context: #10629
The Copilot GitHub Actions runner was running out of disk space with 76%
used (54G/72G) after checkout, leaving only 18GB free for builds.
Changes:
- Remove `/usr/local/lib/android` before checkout (~12GB pre-installed SDK/NDK)
- Add `fetch-depth: 1` for shallow clones of main repo and submodules
Results:
- Disk usage after checkout: 59% (42G/72G) with 30GB free
- Saved 12GB total, providing sufficient space for build operations
- Build caches already redirected to /mnt (66GB available) via #106101 parent 3577f05 commit 384f7f2
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
18 | 23 | | |
19 | 24 | | |
20 | 25 | | |
21 | 26 | | |
| 27 | + | |
22 | 28 | | |
23 | 29 | | |
24 | 30 | | |
| |||
0 commit comments