mirror of
https://github.com/mudler/LocalAI.git
synced 2026-11-06 04:23:15 -05:00
ci: free runner disk in the build-test job
The GoReleaser step failed on master with no space left on device while compiling. Run the existing free-runner-disk script right after checkout, before Go is installed, as the add-on jobs do. Assisted-by: Claude:claude-sonnet-5-5
This commit is contained in:
1 file changed
+5
@@ -61,6 +61,11 @@ jobs:
|
||||
uses: actions/checkout@v7
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Free disk space
|
||||
# The three-platform build and the UI build fill the hosted runner and
|
||||
# fail with "no space left on device". Remove the unused preinstalled
|
||||
# toolchains before Go is installed.
|
||||
run: sh scripts/ci/free-runner-disk.sh
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
|
||||
Reference in new issue
Block a user