From 3ed8ee79c41ce692a3286f1104c3b1444ad33c30 Mon Sep 17 00:00:00 2001 From: Jose Daniel Hernandez Date: Sat, 12 Feb 2022 23:06:15 -0600 Subject: [PATCH] Free up disk space for Github Actions runner Free up disk space for Github Actions runner since the `test` stage on the `Build + Test` workflow started to face disk space issues after the upgrade to libp2p 0.42.2. This removes some tools as stated in [this comment](https://github.com/actions/virtual-environments/issues/2840#issuecomment-790492173). --- .github/workflows/build+test.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build+test.yml b/.github/workflows/build+test.yml index 4d081ffaad..d4324b90ed 100644 --- a/.github/workflows/build+test.yml +++ b/.github/workflows/build+test.yml @@ -33,6 +33,8 @@ jobs: runs-on: ubuntu-20.04 steps: + - name: "Free up disk space" + run: sudo rm -rf /usr/share/dotnet && sudo rm -rf /opt/ghc && sudo rm -rf "/usr/local/share/boost" && sudo rm -rf "$AGENT_TOOLSDIRECTORY" - uses: actions/checkout@v2 - uses: actions/cache@v2 with: