From 29399171981b7bb1ba1f52db588a611521519212 Mon Sep 17 00:00:00 2001 From: HsiangNianian Date: Wed, 31 Dec 2025 18:15:28 +0800 Subject: fix: update TestPyPI publish step to use twine directly and ensure installation of twine --- .github/workflows/publish.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '.github') diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index bc8aefe..7bc9ab0 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -110,12 +110,14 @@ jobs: name: dist path: dist/ + - name: Install twine + run: pip install - name: Publish to TestPyPI env: TWINE_USERNAME: __token__ TWINE_PASSWORD: ${{ secrets.TEST_PYPI_TOKEN }} run: | - uv run twine upload --repository-url https://test.pypi.org/legacy/ --skip-existing --verbose dist/* + twine upload --repository-url https://test.pypi.org/legacy/ --skip-existing --verbose dist/* publish-pypi: name: Publish to PyPI -- cgit v1.2.3-70-g09d2