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:
1 file changed
+4
@@ -28,6 +28,10 @@ jobs:
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: '${{ env.GO_VERSION }}'
|
||||
cache: 'false'
|
||||
|
||||
- name: cleanup space
|
||||
run: rm -rf /opt/hostedtoolcache
|
||||
|
||||
- name: Set env
|
||||
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
|
||||
|
||||
Reference in new issue
Block a user