Skip to content

Commit

Permalink
[ci] Workaround windows checkout 'Needed a single revision' issue (ta…
Browse files Browse the repository at this point in the history
…ichi-dev#7078)

Issue: actions/checkout#418

### Brief Summary
  • Loading branch information
feisuzhu authored and quadpixels committed May 13, 2023
1 parent 0060231 commit be6cbbb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,10 @@ jobs:
runs-on: ${{ matrix.runsOn }}
timeout-minutes: ${{ github.event.schedule != '0 18 * * *' && 90 || 180 }}
steps:
- name: Workaround checkout Needed single revision issue
run: |
git submodule foreach 'git rev-parse HEAD > /dev/null 2>&1 || rm -rf $PWD'
- uses: actions/checkout@v3
with:
fetch-depth: '0'
Expand Down

0 comments on commit be6cbbb

Please sign in to comment.