From cca9d22f53922ed1b00ad589307914b646e1a43c Mon Sep 17 00:00:00 2001 From: DavidHuber Date: Tue, 17 Oct 2023 17:22:42 +0000 Subject: [PATCH] Free up space on github-cli spinup. --- .github/workflows/intel.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/intel.yml b/.github/workflows/intel.yml index d48c00a21e..249b4c1832 100644 --- a/.github/workflows/intel.yml +++ b/.github/workflows/intel.yml @@ -27,6 +27,15 @@ jobs: runs-on: ubuntu-latest steps: + # Free up disk space + - name: free-disk-spack + - run: | + df -h + sudo swapoff -a + sudo rm -f /swapfile + sudo apt clean + docker rmi $(docker image ls -aq) + # Checkout the GSI to get the ci/spack.yaml file - name: checkout-gsi if: steps.cache-env.outputs.cache-hit != 'true'