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

jdaugherty pushed a commit to branch ci/joint-build-disk-space-7.0.x
in repository https://gitbox.apache.org/repos/asf/grails-core.git

commit 9536eac725353a8e6a69e71017a0ceee0970ba73
Author: James Daugherty <[email protected]>
AuthorDate: Thu Jul 9 13:41:15 2026 -0400

    ci: free runner disk space before the joint validation Grails build
    
    The build_grails job in the Groovy joint validation workflow does a full
    uncached rebuild of grails-core with tests and can exhaust the ~14GB of
    free disk on hosted runners (PR #15944 died mid-build with 'No space
    left on device'). Reclaim space up front by removing unused preinstalled
    toolchains, matching the existing 'Maximize build space' step used in
    gradle.yml and the release workflows.
---
 .github/workflows/groovy-joint-workflow.yml | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/.github/workflows/groovy-joint-workflow.yml 
b/.github/workflows/groovy-joint-workflow.yml
index 7bd1951872..7544dfa469 100644
--- a/.github/workflows/groovy-joint-workflow.yml
+++ b/.github/workflows/groovy-joint-workflow.yml
@@ -141,6 +141,18 @@ jobs:
           --health-timeout 5s
           --health-retries 5
     steps:
+      - 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: "📥 Checkout project"
         uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # 
v6.0.2
       - name: "☕️ Setup JDK"

Reply via email to