Skip to content

Commit

Permalink
fix workflow for releases
Browse files Browse the repository at this point in the history
  • Loading branch information
hsheth2 committed Nov 14, 2023
1 parent dc02a67 commit 4483763
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,6 @@ runs:
# See https://github.blog/2020-12-21-get-up-to-speed-with-partial-clone-and-shallow-clone/
# and https://github.com/actions/checkout/pull/1396
fetch-depth: 800 # we likely won't have 800 commits between releases
fetch-tags: true
# Due to https://github.com/actions/checkout/issues/1467,
# tags will get fetched automatically on tag events.
fetch-tags: ${{ github.event_name != 'release' }}

0 comments on commit 4483763

Please sign in to comment.