From a370aeea7de012b0a6733be0e18b3328ba37e64e Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Wed, 22 May 2024 18:02:10 +0200 Subject: [PATCH] CI: Free disk space for ROS2 example --- .github/workflows/ci.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4f0a35c2..e0bac78d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -159,6 +159,24 @@ jobs: steps: - uses: actions/checkout@v3 - uses: r7kamura/rust-problem-matchers@v1.1.0 + + - name: Free Disk Space (Ubuntu) + uses: jlumbroso/free-disk-space@main + if: runner.os == 'Linux' + with: + # this might remove tools that are actually needed, + # if set to "true" but frees about 6 GB + tool-cache: false + + # all of these default to true, but feel free to set to + # "false" if necessary for your workflow + android: true + dotnet: true + haskell: true + large-packages: false + docker-images: true + swap-storage: false + - run: cargo --version --verbose - uses: Swatinem/rust-cache@v2 with: