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 b88a3784b3 Add build space maximization step in docs workflow
b88a3784b3 is described below

commit b88a3784b34007c1948448f56cce6b0d4a8c1ed8
Author: James Fredley <[email protected]>
AuthorDate: Thu Oct 9 16:11:19 2025 -0400

    Add build space maximization step in docs workflow
    
    Added a step to maximize build space by removing unnecessary packages and 
allocating swap space.
---
 .github/workflows/gradle.yml | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml
index 34be61a136..7f893d31fe 100644
--- a/.github/workflows/gradle.yml
+++ b/.github/workflows/gradle.yml
@@ -398,6 +398,16 @@ jobs:
     needs: [ publish ]
     runs-on: ubuntu-24.04
     steps:
+      - name: Maximize build space
+        uses: 
easimon/maximize-build-space@c28619d8999a147d5e09c1199f84ff6af6ad5794
+        with:
+          root-reserve-mb: 1024  # Leave ~1 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: 'true'  # Prune Docker if used (~1-2 GB 
savings)
       - 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