From 0778a29d84559d0a709858d49c7150cc414c2e3d Mon Sep 17 00:00:00 2001 From: Azat Khuzhin Date: Sun, 17 Dec 2023 21:37:04 +0100 Subject: [PATCH] ci: fix git describe on CI --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 55925bb..6019c4d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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: @@ -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: