This is an automated email from the ASF dual-hosted git repository.
jamesfredley pushed a commit to branch release-7.0.7-docs
in repository https://gitbox.apache.org/repos/asf/grails-core.git
The following commit(s) were added to refs/heads/release-7.0.7-docs by this
push:
new eda4479a88 Maximize build space in publish-docs workflow
eda4479a88 is described below
commit eda4479a886dcbca176bfabbe9baf267b7c8a890
Author: James Fredley <[email protected]>
AuthorDate: Sat Jan 31 22:53:42 2026 -0500
Maximize build space in publish-docs workflow
Add a step to the publish-docs GitHub Actions job that frees disk space by
removing several unused system tool directories (/usr/share/dotnet,
/usr/local/lib/android, /opt/ghc, /opt/hostedtoolcache/CodeQL) and prints disk
usage. This runs before storing the release version and checking out the repo
to ensure sufficient space for building and publishing documentation.
---
.github/workflows/publish-docs.yml | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/.github/workflows/publish-docs.yml
b/.github/workflows/publish-docs.yml
index a6324939bd..0b2452cb95 100644
--- a/.github/workflows/publish-docs.yml
+++ b/.github/workflows/publish-docs.yml
@@ -34,6 +34,18 @@ jobs:
name: "Publish Documentation"
runs-on: ubuntu-24.04
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: "📝 Store release version"
run: echo "VERSION=${VERSION}" >> "$GITHUB_ENV"
- name: "📥 Checkout repository"