diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e2bd531a..ea35307b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,12 +11,18 @@ jobs: runs-on: "ubuntu-latest" steps: - - name: Maximize build space - uses: easimon/maximize-build-space@master - with: - root-reserve-mb: 30000 # for pip packages in /tmp - remove-dotnet: true - remove-android: true + - name: Remove unused software + run: | + echo "Available storage before:" + sudo df -h + echo + sudo rm -rf /usr/share/dotnet + sudo rm -rf /usr/local/lib/android + sudo rm -rf /opt/ghc + sudo rm -rf /opt/hostedtoolcache/CodeQL + echo "Available storage after:" + sudo df -h + echo - uses: actions/checkout@v4 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c55ada57..8328569c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -45,14 +45,18 @@ jobs: steps: - if: matrix.os == 'ubuntu-latest' - name: Maximize build space - uses: easimon/maximize-build-space@master - with: - root-reserve-mb: 32000 # for pip packages in /tmp - remove-dotnet: true - remove-android: true - remove-haskell: true - remove-codeql: true + name: Remove unused software + run: | + echo "Available storage before:" + sudo df -h + echo + sudo rm -rf /usr/share/dotnet + sudo rm -rf /usr/local/lib/android + sudo rm -rf /opt/ghc + sudo rm -rf /opt/hostedtoolcache/CodeQL + echo "Available storage after:" + sudo df -h + echo - uses: actions/checkout@v4 @@ -118,12 +122,18 @@ jobs: python-version: [3.8] steps: - - name: Maximize build space - uses: easimon/maximize-build-space@master - with: - root-reserve-mb: 30000 # for pip packages in /tmp - remove-dotnet: true - remove-android: true + - name: Remove unused software + run: | + echo "Available storage before:" + sudo df -h + echo + sudo rm -rf /usr/share/dotnet + sudo rm -rf /usr/local/lib/android + sudo rm -rf /opt/ghc + sudo rm -rf /opt/hostedtoolcache/CodeQL + echo "Available storage after:" + sudo df -h + echo - uses: actions/checkout@v2