From 6089873188116634f570f3e217940186c0d4d0c4 Mon Sep 17 00:00:00 2001 From: reasje Date: Thu, 5 Dec 2024 10:15:08 +0330 Subject: [PATCH] fix: Clean up ubuntu cache --- .github/workflows/compile.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml index a1bbd9e8..11f71fcd 100644 --- a/.github/workflows/compile.yml +++ b/.github/workflows/compile.yml @@ -15,6 +15,20 @@ jobs: with: submodules: 'recursive' + - name: Free Disk Space Before Build + run: | + echo "Disk space before cleanup:" + df -h + sudo rm -rf /usr/local/.ghcup + sudo rm -rf /opt/hostedtoolcache/CodeQL + sudo rm -rf /usr/local/lib/android/sdk/ndk + sudo rm -rf /usr/share/dotnet + sudo rm -rf /opt/ghc + sudo rm -rf /usr/local/share/boost + sudo apt-get clean + echo "Disk space after cleanup:" + df -h + - name: Set Version Code run: | echo "Received Number: ${{ github.run_number }}"