Skip to content

Commit

Permalink
fix(infra): checkout: set fetch-depth to pull tags (#72)
Browse files Browse the repository at this point in the history
* checkout: set fetch-depth to pull tags

* Update .github/workflows/rust.yml

Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
  • Loading branch information
miraclx and matklad committed Jan 26, 2022
1 parent c88de8b commit 5c89866
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,11 @@ jobs:

steps:
- uses: actions/checkout@v2
with:
# fetch tags for cargo ws publish
# might be a simple `fetch-tags: true` option soon, see https://github.com/actions/checkout/pull/579
fetch-depth: 0

- name: Setup
run: |
git config user.name github-actions
Expand Down

0 comments on commit 5c89866

Please sign in to comment.