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.
This commit is contained in:
Oliver Gugger
2025-04-07 12:23:16 +02:00
parent a7c2c47397
commit 5ac72ed282

View File

@@ -28,6 +28,10 @@ jobs:
uses: actions/setup-go@v5 uses: actions/setup-go@v5
with: with:
go-version: '${{ env.GO_VERSION }}' go-version: '${{ env.GO_VERSION }}'
cache: 'false'
- name: cleanup space
run: rm -rf /opt/hostedtoolcache
- name: Set env - name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV