Skip to content

Commit

Permalink
ci: fetch tags when checking out repo
Browse files Browse the repository at this point in the history
  • Loading branch information
m1stadev committed Apr 22, 2024
1 parent 6cf6e62 commit f965115
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/pypi-build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
fetch-tags: true

- name: Build sdist
run: pipx run build
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/python-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
fetch-tags: true

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
Expand Down

0 comments on commit f965115

Please sign in to comment.