You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by ja...@apache.org on 2025/10/09 20:37:54 UTC

(grails-static-website) branch master updated: Add build space maximization step to publish workflow

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 90055c4d88e Add build space maximization step to publish workflow
90055c4d88e is described below

commit 90055c4d88e8786e6a6acb6f2c8f66be86a5fa28
Author: James Fredley <ja...@users.noreply.github.com>
AuthorDate: Thu Oct 9 16:37:51 2025 -0400

    Add build space maximization step to publish workflow
    
    Added a step to maximize build space in the workflow.
---
 .github/workflows/publish.yml | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index 7d627409f60..759e9f2f01a 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -13,6 +13,16 @@ 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: 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)
       - uses: actions/checkout@v4
       - uses: actions/cache@v4
         with: