From 4c51126984e17d050ff98e5a86b47e1497b86b8e Mon Sep 17 00:00:00 2001 From: Miraculous Owonubi Date: Wed, 26 Jan 2022 12:13:52 +0100 Subject: [PATCH 1/3] checkout: set fetch-depth to pull tags --- .github/workflows/rust.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index be0fdb47f..263bb224f 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -63,6 +63,9 @@ jobs: steps: - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Setup run: | git config user.name github-actions From 3e9d926bb8e85cfdf0f2075646dea2e6766f560c Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Wed, 26 Jan 2022 14:38:06 +0300 Subject: [PATCH 2/3] Update .github/workflows/rust.yml --- .github/workflows/rust.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 263bb224f..e91836f4b 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -64,7 +64,7 @@ jobs: steps: - uses: actions/checkout@v2 with: - fetch-depth: 0 + fetch-depth: 0 # fetch tags for cargo ws publish - name: Setup run: | From 0eb8fdbcaf62356c042d677b1fe97bc056f43578 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Wed, 26 Jan 2022 14:56:28 +0300 Subject: [PATCH 3/3] Update .github/workflows/rust.yml Co-authored-by: Miraculous Owonubi --- .github/workflows/rust.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index e91836f4b..7c4c3893a 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -64,7 +64,9 @@ jobs: steps: - uses: actions/checkout@v2 with: - fetch-depth: 0 # fetch tags for cargo ws publish + # 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: |