This is an automated email from the ASF dual-hosted git repository.
jamesfredley pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/grails-static-website.git
The following commit(s) were added to refs/heads/master by this push:
new 5ddd255f7a3 Update build space maximization step in workflow
5ddd255f7a3 is described below
commit 5ddd255f7a33cdb7bdf21eb9bb3d8e9e75e865b3
Author: James Fredley <[email protected]>
AuthorDate: Sat Jan 31 23:15:59 2026 -0500
Update build space maximization step in workflow
Replaced the Maximize build space step with a custom script to free up
space by removing specific tools.
---
.github/workflows/publish.yml | 22 ++++++++++++----------
1 file changed, 12 insertions(+), 10 deletions(-)
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index e300ce64a9f..9981fbb71b6 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -13,16 +13,18 @@ jobs:
if: github.repository == 'apache/grails-static-website'
runs-on: ubuntu-latest
steps:
- - name: Maximize build space
- uses:
easimon/maximize-build-space@c28619d8999a147d5e09c1199f84ff6af6ad5794
- with:
- root-reserve-mb: 4096 # Leave ~4 GB on root FS (default)
- swap-size-mb: 2048 # Allocate 2 GB swap (default: 4 GB; reduce
if not needed)
- remove-dotnet: 'true' # Remove .NET SDK (~3-4 GB savings)
- remove-android: 'true' # Remove Android tools (~2 GB savings)
- remove-haskell: 'true' # Remove Haskell (~1 GB savings)
- remove-codeql: 'true' # Remove CodeQL (~500 MB savings)
- remove-docker-images: 'false' # Prune Docker if used (~1-2 GB
savings)
+ - name: "⚙️ Maximize build space"
+ run: |
+ echo "-- Dotnet"
+ sudo rm -rf /usr/share/dotnet
+ echo "-- Android"
+ sudo rm -rf /usr/local/lib/android
+ echo "-- Haskell"
+ sudo rm -rf /opt/ghc
+ echo "-- CodeQL"
+ sudo rm -rf /opt/hostedtoolcache/CodeQL
+
+ df -h
- uses: actions/checkout@v4
- uses: actions/cache@v4
with: