Commit 35d39735 authored by 赵小蒙's avatar 赵小蒙

update pypi upload logic

parent e57a9d87
...@@ -119,8 +119,7 @@ jobs: ...@@ -119,8 +119,7 @@ jobs:
files: './dist/*.whl' files: './dist/*.whl'
env: env:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }} GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1 - name: Publish distribution to PyPI
with: run: |
user: __token__ twine upload dist/* -u __token__ -p ${{ secrets.PYPI_TOKEN }}
password: ${{ secrets.PYPI_TOKEN }}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment