From dc79ffa39949bf82b2f9cc3d543a48813517e7dd Mon Sep 17 00:00:00 2001 From: Jonathan Teran Carballo Date: Wed, 29 Jul 2026 11:47:00 -0300 Subject: [PATCH] bugfix: change actions/checkout to v4 and add step to fetch tags --- .gitea/workflows/publish-pypi.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/publish-pypi.yaml b/.gitea/workflows/publish-pypi.yaml index bcfc8b3..4cdbeb6 100644 --- a/.gitea/workflows/publish-pypi.yaml +++ b/.gitea/workflows/publish-pypi.yaml @@ -8,10 +8,11 @@ jobs: Publish-to-PyPI: runs-on: ubuntu-latest steps: - - name: Check out repository code - uses: actions/checkout@v6 - with: - fetch-tags: true + - name: Checkout + uses: actions/checkout@v4 + + - name: Fetch tags + run: git fetch --prune --unshallow --tags - name: Configure git run: |