File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change 2626 runs-on : ubuntu-latest
2727
2828 steps :
29+ - name : Free Disk Space
30+ run : |
31+ echo "Before cleanup:"
32+ df -h /
33+
34+ # Remove unnecessary software to free up ~30GB
35+ sudo rm -rf /usr/share/dotnet
36+ sudo rm -rf /usr/local/lib/android
37+ sudo rm -rf /opt/ghc
38+ sudo rm -rf /opt/hostedtoolcache/CodeQL
39+ sudo docker system prune -af
40+
41+ echo "After cleanup:"
42+ df -h /
43+
2944 - name : Checkout code
3045 uses : actions/checkout@v4
3146
5368 NITRO_HASH=$(sha256sum build-outputs/nitro | cut -d' ' -f1)
5469 echo "NITRO_HASH=${NITRO_HASH}" >> $GITHUB_ENV
5570 echo "Nitro binary SHA256: ${NITRO_HASH}"
71+
72+ # Clean up Docker images to save space
73+ docker system prune -af
74+ echo "Disk after Docker cleanup:"
75+ df -h /
5676
5777 - name : Stage Binary for Nix
5878 run : |
You can’t perform that action at this time.
0 commit comments