From d68d8c990668298ec364c05fb8222339533e3e79 Mon Sep 17 00:00:00 2001 From: Chris Tabone Date: Fri, 21 Jun 2024 20:48:59 -0300 Subject: [PATCH] Update self_runner_test.yml --- .github/workflows/self_runner_test.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/self_runner_test.yml b/.github/workflows/self_runner_test.yml index e7c11980..67f4a2c4 100644 --- a/.github/workflows/self_runner_test.yml +++ b/.github/workflows/self_runner_test.yml @@ -7,6 +7,20 @@ jobs: runs-on: self-hosted steps: + - name: Cleanup build folder + run: | + echo "Current directory:" + pwd + echo "Listing all files and folders before cleanup:" + ls -la ./ + + echo "Cleaning up build folder..." + rm -rf ./* || true + rm -rf ./.??* || true + + echo "Listing all files and folders after cleanup:" + ls -la ./ + - name: Checkout repository uses: actions/checkout@v2 with: