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 a5d9f71834 Update build space maximization method in workflow
a5d9f71834 is described below

commit a5d9f718340a332d36f32b8806ffba04537c77bd
Author: James Fredley <[email protected]>
AuthorDate: Sat Jan 31 23:15:28 2026 -0500

    Update build space maximization method in workflow
    
    Replaced maximize-build-space action with custom script to free up build 
space.
---
 .github/workflows/gradle.yml | 22 ++++++++++++----------
 1 file changed, 12 insertions(+), 10 deletions(-)

diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml
index 7d9cd40aa6..db4ada4f58 100644
--- a/.github/workflows/gradle.yml
+++ b/.github/workflows/gradle.yml
@@ -438,16 +438,18 @@ jobs:
     needs: [ publish ]
     runs-on: ubuntu-24.04
     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
       - name: "Output Agent IP" # in the event RAO blocks this agent, this can 
be used to debug it
         run: curl -s https://api.ipify.org
       - name: "📥 Checkout the repository"

Reply via email to