change to pypi gh action
This commit is contained in:
7
.github/workflows/release.yml
vendored
7
.github/workflows/release.yml
vendored
@@ -40,7 +40,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Publish to PyPI
|
- name: Publish to PyPI
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
env:
|
uses: pypa/gh-action-pypi-publish@release/v1
|
||||||
TWINE_USERNAME: __token__
|
with:
|
||||||
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
|
skip-existing: true
|
||||||
run: uvx twine upload dist/*
|
|
||||||
|
|||||||
Reference in New Issue
Block a user