From 58528dc541cf05b8c5072dd85656d2190d43dd98 Mon Sep 17 00:00:00 2001 From: phact Date: Wed, 26 Nov 2025 03:04:53 -0500 Subject: [PATCH] clean up runner --- .github/workflows/test-integration.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test-integration.yml b/.github/workflows/test-integration.yml index 1b4c6162..28641819 100644 --- a/.github/workflows/test-integration.yml +++ b/.github/workflows/test-integration.yml @@ -31,11 +31,14 @@ jobs: steps: - run: df -h - #- name: "node-cleanup" - #run: | - # sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /opt/hostedtoolcache/CodeQL - # sudo docker image prune --all --force - # sudo docker builder prune -a + + - name: Clean runner workspace + run: | + # Clean old job workspaces + rm -rf ${GITHUB_WORKSPACE}/../../../_work/* || true + # Clean runner logs + rm -rf ${GITHUB_WORKSPACE}/../../../_diag/* || true + - run: df -h - name: Checkout uses: actions/checkout@v4