From c8a48bc48e08c914a1fb91920903827c376db8ba Mon Sep 17 00:00:00 2001 From: Sergey Kuznetsov Date: Thu, 7 Mar 2024 16:17:45 +0000 Subject: [PATCH] Add clean up workdir --- .github/workflows/build.yml | 8 ++++++++ .github/workflows/nightly.yml | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 92a5ddef3..751ba475f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -68,6 +68,10 @@ jobs: --health-retries 5 steps: + - name: Clean workdir + if: ${{ runner.os == 'macOS' }} + uses: kuznetsss/workspace-cleanup@1.0 + - uses: actions/checkout@v4 with: fetch-depth: 0 @@ -167,6 +171,10 @@ jobs: container: ${{ matrix.container }} steps: + - name: Clean workdir + if: ${{ runner.os == 'macOS' }} + uses: kuznetsss/workspace-cleanup@1.0 + - uses: actions/download-artifact@v3 with: name: clio_tests_${{ runner.os }} diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index ec814c149..7a5a1ea73 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -25,6 +25,10 @@ jobs: container: ${{ matrix.container }} steps: + - name: Clean workdir + if: ${{ runner.os == 'macOS' }} + uses: kuznetsss/workspace-cleanup@1.0 + - uses: actions/checkout@v4 with: fetch-depth: 0 @@ -85,6 +89,10 @@ jobs: runs-on: [self-hosted, "${{ matrix.os }}"] steps: + - name: Clean workdir + if: ${{ runner.os == 'macOS' }} + uses: kuznetsss/workspace-cleanup@1.0 + - uses: actions/download-artifact@v3 with: name: clio_tests_${{ runner.os }}_${{ matrix.build_type }}