Skip to content

Commit 4b347e6

Browse files
committed
ci: fetch tags for setuptools-scm
1 parent cd86999 commit 4b347e6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/build_wheels.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121
- name: Checkout repository
2222
uses: actions/checkout@v4
2323
with:
24+
fetch-depth: 0
25+
fetch-tags: true
2426
submodules: recursive
2527

2628
- name: Build source distribution
@@ -42,6 +44,8 @@ jobs:
4244
- name: Checkout repository
4345
uses: actions/checkout@v4
4446
with:
47+
fetch-depth: 0
48+
fetch-tags: true
4549
submodules: recursive
4650

4751
- name: Build wheels

0 commit comments

Comments
 (0)