Skip to content

Commit

Permalink
Cleanup before checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
kuznetsss committed Dec 15, 2023
1 parent eb8e646 commit 2da8c45
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .github/actions/prepare_runner/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,6 @@ runs:
run: |
brew install llvm@14 pkg-config ninja bison cmake ccache jq gh
- name: Cleanup working directory
if: ${{ runner.os == 'macOS' }}
shell: bash
run: |
find ${{ github.workspace }}/ -depth 1 | xargs rm -rfv
- name: Fix git permissions on Linux
if: ${{ runner.os == 'Linux' }}
shell: bash
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ jobs:
container: ${{ matrix.container }}

steps:
- name: Cleanup working direcktory
if: ${{ runner.os == 'macOS' }}
shell: bash
run: |
find ${{ github.workspace }}/ -depth 1 | xargs rm -rfv- uses: ./.github/actions/cleanup
- uses: actions/checkout@v4
with:
fetch-depth: 0
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ jobs:
container: ${{ matrix.container }}

steps:
- name: Cleanup working direcktory
if: ${{ runner.os == 'macOS' }}
shell: bash
run: |
find ${{ github.workspace }}/ -depth 1 | xargs rm -rfv- uses: ./.github/actions/cleanup
- uses: actions/checkout@v4
with:
fetch-depth: 0
Expand Down

0 comments on commit 2da8c45

Please sign in to comment.