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

jamesfredley pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/grails-forge-ui.git


The following commit(s) were added to refs/heads/main by this push:
     new 6636922  Add step to maximize build space in CI workflow
6636922 is described below

commit 6636922f1560aabbf8c2c0f43fc8b3a5028f67f3
Author: James Fredley <[email protected]>
AuthorDate: Thu Oct 23 19:44:41 2025 -0400

    Add step to maximize build space in CI workflow
    
    Introduced a step using easimon/maximize-build-space to free up disk space 
in the GitHub Actions publish workflow by removing unused SDKs and tools, 
adjusting swap size, and reserving root filesystem space. This helps prevent 
build failures due to insufficient disk space.
---
 .github/workflows/publish.yml | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index 59fbbe6..6971d76 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -10,6 +10,16 @@ jobs:
       matrix:
         java: ['11']
     steps:
+      - name: Maximize build space
+        uses: 
easimon/maximize-build-space@c28619d8999a147d5e09c1199f84ff6af6ad5794
+        with:
+          root-reserve-mb: 3072  # Leave ~3 GB on root FS
+          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)
       - uses: actions/checkout@v4
       - uses: actions/cache@v3
         with:

Reply via email to