Skip to content

Commit

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

Issue: actions/checkout#418

### Brief Summary
  • Loading branch information
feisuzhu committed Jan 6, 2023
1 parent 2d1ff82 commit e1541b8
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 e1541b8

Please sign in to comment.