Skip to content

Commit

Permalink
Quirk for github actions checkout module that looses tag annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
azat committed Jun 12, 2023
1 parent f5967f4 commit d673927
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ jobs:
# [1]: https://github.blog/2020-12-21-get-up-to-speed-with-partial-clone-and-shallow-clone/
fetch-depth: 0

# Workaround for https://github.com/actions/checkout/issues/882
- name: Fix tags for release
# will break on a lightweight tag
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*

- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
Expand Down

0 comments on commit d673927

Please sign in to comment.