From 6803d6839136ac2edbef27839204e768f46a5b01 Mon Sep 17 00:00:00 2001 From: Jon Cinque Date: Thu, 14 Sep 2023 12:37:46 +0200 Subject: [PATCH] ci: Make space in token test-sbf run (#5265) --- .github/workflows/pull-request-token.yml | 11 ++--------- ci/warning/purge-ubuntu-runner.sh | 1 + 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/pull-request-token.yml b/.github/workflows/pull-request-token.yml index 3f8e1771100..575c1fc9419 100644 --- a/.github/workflows/pull-request-token.yml +++ b/.github/workflows/pull-request-token.yml @@ -21,15 +21,8 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Clear disk space - run: | - # if we need more: `sudo apt-get install -y wajig && wajig large` - for p in ant mono-complete lldb-14 google-cloud-sdk azure-cli microsoft-edge-stable \ - google-chrome-stable firefox powershell mono-devel dotnet-sdk-6.0 dotnet-sdk-7.0 \ - temurin-8-jdk temurin-11-jdk temurin-17-jdk llvm-12-dev llvm-13-dev llvm-14-dev \ - fake-canary-package; do sudo apt-get remove -y $p || true; done - sudo apt-get autoremove -y - sudo rm -rf /imagegeneration + - name: Remove unneeded packages for more space + run: bash ./ci/warning/purge-ubuntu-runner.sh - name: Set env vars run: | diff --git a/ci/warning/purge-ubuntu-runner.sh b/ci/warning/purge-ubuntu-runner.sh index 4519c572dc1..bcdf9073320 100644 --- a/ci/warning/purge-ubuntu-runner.sh +++ b/ci/warning/purge-ubuntu-runner.sh @@ -23,4 +23,5 @@ if [[ -n "$CI" ]]; then sudo rm -rf /usr/local/lib/android sudo rm -rf /usr/local/lib/heroku + sudo rm -rf /imagegeneration fi