From b82ed88be58c06c78085021c47c190d5f27468a3 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Mon, 20 Oct 2025 15:58:42 +0100 Subject: [PATCH] ci: use enhanced cleanup action in release workflow In this commit, we replace the basic inline cleanup command in the release workflow with the comprehensive cleanup-space action that was previously only used in the main CI workflow. The previous release workflow cleanup simply removed the hostedtoolcache directory, which freed only a few gigabytes and proved insufficient for multi-platform release builds. By switching to the cleanup-space action (now enhanced to free 20-25GB), the release workflow will have substantially more disk space available before beginning the build process. This should resolve the disk space exhaustion issues that were occurring during the Windows ARM build phase, which is one of the final platforms in the 15-platform build sequence. --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 974ff84ae..0e450de38 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -28,7 +28,7 @@ jobs: fetch-depth: 0 - name: cleanup space - run: rm -rf /opt/hostedtoolcache && mkdir -p /opt/hostedtoolcache/go + uses: ./.github/actions/cleanup-space - name: setup go ${{ env.GO_VERSION }} uses: actions/setup-go@v5