From 7a9ddaa9267a95ba391af4d4ff4d818fd776fa5e Mon Sep 17 00:00:00 2001 From: Jonathan Johnson Date: Wed, 6 Mar 2024 09:54:09 -0800 Subject: [PATCH] Disk space cleanup in CI This snippet was copied from BonsaiDb, it basically clears up some things that aren't needed from the default Github CI. --- .github/workflows/rust.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index c1abdd1..a0f4e10 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -13,6 +13,13 @@ jobs: steps: - uses: actions/checkout@v3 + - + name: Free disk space + if: matrix.os == 'ubuntu-latest' + run: | + sudo docker rmi $(docker image ls -aq) || true + sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc || true + - name: Install x11 dependencies for Kludgine if: matrix.os == 'ubuntu-latest' run: |