File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed
Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 3333 runs-on : ubuntu-latest
3434
3535 steps :
36+ - name : Aggressive cleanup
37+ # from https://dev.to/mathio/squeezing-disk-space-from-github-actions-runners-an-engineers-guide-3pjg
38+ run : |
39+ df -h
40+ # Remove Java (JDKs)
41+ sudo rm -rf /usr/lib/jvm
42+ # Remove .NET SDKs
43+ sudo rm -rf /usr/share/dotnet
44+ # Remove Swift toolchain
45+ sudo rm -rf /usr/share/swift
46+ # Remove Haskell (GHC)
47+ sudo rm -rf /usr/local/.ghcup
48+ # Remove Julia
49+ sudo rm -rf /usr/local/julia*
50+ # Remove Android SDKs
51+ sudo rm -rf /usr/local/lib/android
52+ # Remove Chromium (optional if not using for browser tests)
53+ sudo rm -rf /usr/local/share/chromium
54+ # Remove Microsoft/Edge and Google Chrome builds
55+ sudo rm -rf /opt/microsoft /opt/google
56+ # Remove Azure CLI
57+ sudo rm -rf /opt/az
58+ # Remove PowerShell
59+ sudo rm -rf /usr/local/share/powershell
60+ # Remove CodeQL and other toolcaches
61+ sudo rm -rf /opt/hostedtoolcache
62+ df -h
3663
3764 - name : checkout
3865 uses : actions/checkout@v4
You can’t perform that action at this time.
0 commit comments