Skip to content

Commit

Permalink
Change to fetch-depth 0 to get all tags
Browse files Browse the repository at this point in the history
  • Loading branch information
dalito committed Sep 3, 2023
1 parent 8c48a22 commit 91b57be
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ jobs:
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
with:
# Using fetch-depth 0 is the only way to get all tags which are needed for building docs.
fetch-depth: 0

- name: Checkout gh-pages branch to dir publish/
uses: actions/checkout@v3
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ jobs:
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
with:
# Using fetch-depth 0 is the only way to get all tags which are needed for building docs.
fetch-depth: 0

- name: Checkout gh-pages branch to dir publish/
uses: actions/checkout@v3
Expand Down

0 comments on commit 91b57be

Please sign in to comment.