Skip to content

Commit

Permalink
ci: fix git describe on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
azat committed Dec 17, 2023
1 parent 321436a commit 0778a29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
# 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/*
run: git fetch origin +refs/tags/*:refs/tags/*

- uses: Swatinem/rust-cache@v2
with:
Expand Down Expand Up @@ -88,7 +88,7 @@ jobs:
# 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/*
run: git fetch origin +refs/tags/*:refs/tags/*

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

0 comments on commit 0778a29

Please sign in to comment.