Skip to content

Commit

Permalink
update pypi upload logic
Browse files Browse the repository at this point in the history
  • Loading branch information
myhloli committed Jun 17, 2024
1 parent e57a9d8 commit 35d3973
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,7 @@ jobs:
files: './dist/*.whl'
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}

- name: Publish distribution to PyPI
run: |
twine upload dist/* -u __token__ -p ${{ secrets.PYPI_TOKEN }}

0 comments on commit 35d3973

Please sign in to comment.