[ci] Free disk space in Gradle and Bazel builds (#8405)

This commit is contained in:
Tyler Veness
2025-11-29 17:13:29 -08:00
committed by GitHub
parent 473f2a0aff
commit d87e109a4e
3 changed files with 79 additions and 47 deletions

View File

@@ -53,11 +53,12 @@ jobs:
with:
fetch-depth: 0
- name: Build with Gradle
# main on 2021-05-30, to include addnab/docker-run-action/pull/17
uses: addnab/docker-run-action@3e77f186b7a929ef010f183a9e24c0f9955ea609
with:
image: ${{ matrix.container }}
options: -v ${{ github.workspace }}:/work -w /work -e GITHUB_REF -e CI
run: df . && echo $GITHUB_REF && ./gradlew build -PbuildServer -PskipJavaFormat ${{ matrix.build-options }}
run: ./gradlew build -PbuildServer -PskipJavaFormat ${{ matrix.build-options }}
- name: Check free disk space
run: df .
- uses: actions/upload-artifact@v4