Skip to content

Commit b82ed88

Browse files
committed
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.
1 parent 2ccf4b9 commit b82ed88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
fetch-depth: 0
2929

3030
- name: cleanup space
31-
run: rm -rf /opt/hostedtoolcache && mkdir -p /opt/hostedtoolcache/go
31+
uses: ./.github/actions/cleanup-space
3232

3333
- name: setup go ${{ env.GO_VERSION }}
3434
uses: actions/setup-go@v5

0 commit comments

Comments
 (0)