Skip to content

Commit

Permalink
fix pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
Nanguage committed Feb 28, 2025
1 parent 8545efc commit b2766e3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ name: Upload Python Package
on:
release:
types: [created]
workflow_dispatch:

jobs:
deploy:
Expand All @@ -24,8 +25,8 @@ jobs:
pip install setuptools wheel twine
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
python setup.py sdist bdist_wheel
twine upload dist/*

0 comments on commit b2766e3

Please sign in to comment.