Skip to content

Commit

Permalink
fix(workflows): clone repo in workers for version check
Browse files Browse the repository at this point in the history
  • Loading branch information
XuehaiPan committed Sep 6, 2022
1 parent 59d5d17 commit 407620a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,12 @@ jobs:
(github.event_name != 'push' || startsWith(github.ref, 'refs/tags/'))
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: "recursive"
fetch-depth: 1

- name: Set up Python
uses: actions/setup-python@v4
if: startsWith(github.ref, 'refs/tags/')
Expand Down

0 comments on commit 407620a

Please sign in to comment.