Skip to content

Commit

Permalink
add fetch-depth to gh workflow: v2
Browse files Browse the repository at this point in the history
  • Loading branch information
youyupei committed Sep 29, 2024
1 parent 930d0d8 commit c7954c3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/python-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ jobs:
with:
fetch-depth: 0 # this is needed to get the tags

- name: Install setuptools_scm and update seuptools
run: pip install setuptools_scm setuptools; pip install --upgrade setuptools

- name: Get package version from setuptools_scm
run: python -m setuptools_scm

- name: Build wheels
uses: pypa/[email protected]

Expand Down

0 comments on commit c7954c3

Please sign in to comment.