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: