summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorHsiangNianian <i@jyunko.cn>2025-12-31 18:15:28 +0800
committerHsiangNianian <i@jyunko.cn>2025-12-31 18:15:28 +0800
commit29399171981b7bb1ba1f52db588a611521519212 (patch)
treebd15d6bb387b69e97e0b285715852ad88055c4a4
parent6f9991d0200f04b1aedd198f67e6ac6537e21eb3 (diff)
downloadbase-model-29399171981b7bb1ba1f52db588a611521519212.tar.gz
base-model-29399171981b7bb1ba1f52db588a611521519212.zip
fix: update TestPyPI publish step to use twine directly and ensure installation of twine
-rw-r--r--.github/workflows/publish.yml4
1 files changed, 3 insertions, 1 deletions
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