From 32f169dc3bac1d00275eb40cfcfe1199a985aed2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20P=C3=A9rez-Garc=C3=ADa?= Date: Thu, 5 Dec 2024 22:44:10 +0000 Subject: [PATCH] Revert "Try again uv for uploading to TestPyPI" This reverts commit 555abf534966c17bffe6efa72e4872af9eff865b. --- .github/workflows/publish.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 67e1929d..1aa30b78 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -39,16 +39,16 @@ jobs: name: dist path: dist + - name: Publish package to TestPyPI + uses: pypa/gh-action-pypi-publish@release/v1 + with: + repository-url: https://test.pypi.org/legacy/ + skip-existing: true + - name: Install uv + if: startsWith(github.ref, 'refs/tags') uses: astral-sh/setup-uv@v4 - - name: Publish package to TestPyPI - run: | - uv publish \ - --check-url https://test.pypi.org/simple \ - --publish-url https://test.pypi.org/legacy \ - --verbose - - name: Publish package to PyPI if commit is tagged # Publish only tagged commits if: startsWith(github.ref, 'refs/tags')