mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-10-11 00:42:58 +02:00
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:
4
.github/workflows/release.yaml
vendored
4
.github/workflows/release.yaml
vendored
@@ -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
|
||||||
|
Reference in New Issue
Block a user