From a887eb84ad385744bb6d4f8f9f4ab4afd80692f0 Mon Sep 17 00:00:00 2001 From: Hao Zhang Date: Wed, 30 Jul 2025 22:58:04 +0800 Subject: [PATCH] Add --force for `git fetch --tags` in github action. --- .github/workflows/wheels.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 76f248d..562331e 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -15,7 +15,8 @@ jobs: fetch-depth: 0 - name: Fetch all tags - run: git fetch --tags + run: git fetch --tags --force + # See: https://github.com/actions/checkout/issues/290 - name: Build dist run: pipx run build