Skip to content

Commit 5ac72ed

Browse files
committed
GitHub: disable cache, remove hosted tools cache
In an attempt to fix the "out of disk space" build error during release builds, we first disable using Golang caches (which can be quite large) and then remove a bunch of pre-installed tools and their caches to provide some additional disk storage.
1 parent a7c2c47 commit 5ac72ed

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/release.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ jobs:
2828
uses: actions/setup-go@v5
2929
with:
3030
go-version: '${{ env.GO_VERSION }}'
31+
cache: 'false'
32+
33+
- name: cleanup space
34+
run: rm -rf /opt/hostedtoolcache
3135

3236
- name: Set env
3337
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV

0 commit comments

Comments
 (0)