From bcbcbe46c5831589a07d1c8577049869cde14d19 Mon Sep 17 00:00:00 2001 From: Lauri Tulmin Date: Wed, 5 Jul 2023 19:28:15 +0300 Subject: [PATCH] Free more disk space for smoke tests --- .github/workflows/build-common.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/build-common.yml b/.github/workflows/build-common.yml index a18217f11de6..815743df3ba8 100644 --- a/.github/workflows/build-common.yml +++ b/.github/workflows/build-common.yml @@ -285,6 +285,14 @@ jobs: run: git config --system core.longpaths true if: matrix.os == 'windows-latest' + - name: Free disk space + run: | + df -h + sudo rm -rf /usr/local/lib/android # will release about 10 GB if you don't need Android + sudo rm -rf /usr/share/dotnet # will release about 20GB if you don't need .NET + df -h + if: matrix.os == 'ubuntu-latest' + - uses: actions/checkout@v3 - name: Set up JDK for running Gradle