From 1c96d5cb5322d4ca84f159c56e6e0b00c8090b46 Mon Sep 17 00:00:00 2001 From: Yuta Saito Date: Fri, 21 Feb 2025 00:56:46 +0000 Subject: [PATCH] HACK: Free disk space on the runner --- .github/workflows/build-swift-debugging.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/build-swift-debugging.yaml b/.github/workflows/build-swift-debugging.yaml index 5969eec16a5..5c21a06a65b 100644 --- a/.github/workflows/build-swift-debugging.yaml +++ b/.github/workflows/build-swift-debugging.yaml @@ -8,6 +8,16 @@ jobs: runs-on: ubuntu-22.04 timeout-minutes: 360 steps: + - name: Free disk space + run: | + df -h + sudo rm -rf /opt/hostedtoolcache + sudo rm -rf /usr/share/dotnet /usr/local/lib/android /usr/local/.ghcup + sudo apt clean + if docker info > /dev/null 2>&1; then + docker rmi $(docker image ls -aq) + fi + df -h - uses: actions/checkout@v4 - name: Create .gclient file run: |