File tree Expand file tree Collapse file tree 1 file changed +12
-10
lines changed
Expand file tree Collapse file tree 1 file changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -13,16 +13,18 @@ jobs:
1313 if : github.repository == 'apache/grails-static-website'
1414 runs-on : ubuntu-latest
1515 steps :
16- - name : Maximize build space
17- uses : easimon/maximize-build-space@c28619d8999a147d5e09c1199f84ff6af6ad5794
18- with :
19- root-reserve-mb : 4096 # Leave ~4 GB on root FS (default)
20- swap-size-mb : 2048 # Allocate 2 GB swap (default: 4 GB; reduce if not needed)
21- remove-dotnet : ' true' # Remove .NET SDK (~3-4 GB savings)
22- remove-android : ' true' # Remove Android tools (~2 GB savings)
23- remove-haskell : ' true' # Remove Haskell (~1 GB savings)
24- remove-codeql : ' true' # Remove CodeQL (~500 MB savings)
25- remove-docker-images : ' false' # Prune Docker if used (~1-2 GB savings)
16+ - name : " ⚙️ Maximize build space"
17+ run : |
18+ echo "-- Dotnet"
19+ sudo rm -rf /usr/share/dotnet
20+ echo "-- Android"
21+ sudo rm -rf /usr/local/lib/android
22+ echo "-- Haskell"
23+ sudo rm -rf /opt/ghc
24+ echo "-- CodeQL"
25+ sudo rm -rf /opt/hostedtoolcache/CodeQL
26+
27+ df -h
2628 - uses : actions/checkout@v4
2729 - uses : actions/cache@v4
2830 with :
You can’t perform that action at this time.
0 commit comments