Skip to content

Commit

Permalink
Set depth to 0 as that appears to be the only way to get tags.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Nov 8, 2021
1 parent 0eacf0b commit 3a6e3ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Expand Up @@ -18,8 +18,8 @@ jobs:
steps:
- uses: actions/checkout@v2
with:
# fetch more than 1 in order to get recent version tag
fetch-depth: 100
# fetch all branches and tags (only way to get tags for versioning)
fetch-depth: 0
- name: Setup Python
uses: actions/setup-python@v2
with:
Expand Down

0 comments on commit 3a6e3ef

Please sign in to comment.