File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5252 - name : Checkout code
5353 uses : actions/checkout@v4
5454
55+ # The Android assembleDebug build (RN new arch) exhausts the runner's
56+ # ~14 GB of free disk. Reclaim space by removing large preinstalled
57+ # toolchains we don't use, while keeping the Android SDK/NDK. Runs
58+ # before Node/Java setup so their tool caches are untouched.
59+ - name : Free up disk space
60+ run : |
61+ echo "Disk before cleanup:"; df -h /
62+ sudo rm -rf /usr/share/dotnet \
63+ /opt/ghc /usr/local/.ghcup \
64+ /opt/hostedtoolcache/CodeQL \
65+ /usr/local/share/boost \
66+ /usr/local/share/powershell \
67+ /usr/local/lib/node_modules || true
68+ sudo docker image prune --all --force || true
69+ sudo swapoff -a || true
70+ sudo rm -f /mnt/swapfile || true
71+ sudo apt-get clean || true
72+ echo "Disk after cleanup:"; df -h /
73+
5574 - name : Setup Node.js
5675 uses : actions/setup-node@v4
5776 with :
You can’t perform that action at this time.
0 commit comments