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: |