From e9372472f3bab596c121a6775840b7ead5f5dd52 Mon Sep 17 00:00:00 2001 From: Jens Reimann Date: Wed, 27 Nov 2024 16:45:26 +0100 Subject: [PATCH] ci: free some space before running --- .github/workflows/run.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/run.yaml b/.github/workflows/run.yaml index fbad61e..045d43c 100644 --- a/.github/workflows/run.yaml +++ b/.github/workflows/run.yaml @@ -20,6 +20,20 @@ jobs: id-token: write # for publishing the report steps: + - name: Maximize build space + run: | + df -h + sudo rm -rf /usr/share/dotnet + sudo rm -rf /usr/local/lib/android + sudo rm -rf /opt/ghc + sudo rm -rf /opt/hostedtoolcache/CodeQL + sudo docker image prune --all --force + sudo rm -Rf ${JAVA_HOME_8_X64} + sudo rm -Rf ${JAVA_HOME_11_X64} + sudo rm -Rf ${JAVA_HOME_17_X64} + sudo rm -Rf ${RUBY_PATH} + df -h + - uses: actions/checkout@v4 with: path: run