This is an automated email from the ASF dual-hosted git repository.

jamesfredley pushed a commit to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/grails-core.git


The following commit(s) were added to refs/heads/7.0.x by this push:
     new d0696e686c Replace maximize-build-space with manual cleanup
d0696e686c is described below

commit d0696e686cc45caca9c05216ebd418c330ae738e
Author: James Fredley <[email protected]>
AuthorDate: Sat Jan 31 23:12:19 2026 -0500

    Replace maximize-build-space with manual cleanup
    
    Remove the external easimon/maximize-build-space action and add explicit 
cleanup commands in the workflow. The new step deletes .NET 
(/usr/share/dotnet), Android (/usr/local/lib/android), Haskell (/opt/ghc) and 
CodeQL (/opt/hostedtoolcache/CodeQL) directories and prints disk usage (df -h). 
This provides direct control over build-space reclamation and removes the 
dependency on the third-party action.
---
 .github/workflows/release.yml | 20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)

diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index df6bdccc84..b5eca46742 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -548,15 +548,17 @@ jobs:
       - name: "📝 Establish release version"
         run: echo "VERSION=${TAG#v}" >> "$GITHUB_ENV"
       - 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)
+        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
       - name: "📥 Checkout repository"
         uses: actions/checkout@v5
         with:

Reply via email to