Skip to content

Commit 3f31bf8

Browse files
authored
get the fetch depth (for setuptools_scm)
1 parent 9dc97c1 commit 3f31bf8

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/build_distributions.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ jobs:
1313

1414
steps:
1515
- uses: actions/checkout@v4
16+
with:
17+
fetch-depth: 0
1618

1719
- name: Build wheels
1820
uses: pypa/cibuildwheel@v2.21.3
@@ -34,6 +36,8 @@ jobs:
3436
runs-on: ubuntu-latest
3537
steps:
3638
- uses: actions/checkout@v4
39+
with:
40+
fetch-depth: 0
3741

3842
- name: Build sdist
3943
run: pipx run build --sdist

0 commit comments

Comments
 (0)