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

gopidesu pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 643a1ba2926 Make more disk space available in publish docs workflow 
(#56115)
643a1ba2926 is described below

commit 643a1ba2926a194c53513e22af86701c67a7894f
Author: GPK <[email protected]>
AuthorDate: Thu Sep 25 23:13:51 2025 +0100

    Make more disk space available in publish docs workflow (#56115)
---
 .github/workflows/publish-docs-to-s3.yml | 3 +++
 scripts/tools/free_up_disk_space.sh      | 3 +--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/publish-docs-to-s3.yml 
b/.github/workflows/publish-docs-to-s3.yml
index b921d3bc607..d61653a6cf4 100644
--- a/.github/workflows/publish-docs-to-s3.yml
+++ b/.github/workflows/publish-docs-to-s3.yml
@@ -232,6 +232,9 @@ jobs:
           INCLUDE_COMMITS: ${{ startsWith(inputs.ref, 'providers') && 'true' 
|| 'false' }}
         run: >
           breeze build-docs ${INCLUDE_DOCS} --docs-only
+      - name: "Free up disk space"
+        shell: bash
+        run: ./scripts/tools/free_up_disk_space.sh
       - name: "Checkout current version to run SBOM generation"
         uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683  # 
v4.2.2
         with:
diff --git a/scripts/tools/free_up_disk_space.sh 
b/scripts/tools/free_up_disk_space.sh
index 5d565291e50..e6ae6b16274 100755
--- a/scripts/tools/free_up_disk_space.sh
+++ b/scripts/tools/free_up_disk_space.sh
@@ -30,8 +30,7 @@ sudo rm -rf /usr/local/share/powershell
 sudo rm -rf /usr/local/share/chromium
 sudo rm -rf /usr/local/share/boost
 sudo rm -rf /usr/local/lib/android
-sudo rm -rf /opt/hostedtoolcache/CodeQL
-sudo rm -rf /opt/hostedtoolcache/Ruby
+sudo rm -rf /opt/hostedtoolcache
 sudo rm -rf /opt/ghc
 sudo apt-get clean
 echo "${COLOR_BLUE}Disk space after cleanup${COLOR_RESET}"

Reply via email to