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

jamesfredley pushed a commit to branch ci/publish-docs-workflow
in repository https://gitbox.apache.org/repos/asf/grails-core.git


The following commit(s) were added to refs/heads/ci/publish-docs-workflow by 
this push:
     new 1fa4f722c2 Replace maximize-build-space with direct disk cleanup
1fa4f722c2 is described below

commit 1fa4f722c2fbe37c5e126aa19a3553663328e5cc
Author: James Fredley <[email protected]>
AuthorDate: Sat Jan 31 21:52:54 2026 -0500

    Replace maximize-build-space with direct disk cleanup
---
 .github/workflows/publish-docs.yml | 17 +++++++----------
 1 file changed, 7 insertions(+), 10 deletions(-)

diff --git a/.github/workflows/publish-docs.yml 
b/.github/workflows/publish-docs.yml
index cda0da4057..0e0d315dcf 100644
--- a/.github/workflows/publish-docs.yml
+++ b/.github/workflows/publish-docs.yml
@@ -34,16 +34,13 @@ jobs:
     name: "Publish Documentation"
     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: 'true'  # Prune Docker (~1-2 GB savings)
+      - name: "🗑️ Free up disk space"
+        run: |
+          sudo rm -rf /usr/share/dotnet
+          sudo rm -rf /usr/local/lib/android
+          sudo rm -rf /opt/ghc
+          sudo rm -rf /opt/hostedtoolcache/CodeQL
+          sudo docker image prune --all --force
       - name: "📥 Checkout repository"
         uses: actions/checkout@v5
         with:

Reply via email to