Update python-publish.yml

using `-m build --sdist` instead of `setup.py sdist`
This commit is contained in:
Jong Wook Kim 2025-01-04 12:56:16 -08:00 committed by GitHub
parent dd4d010d2c
commit 517a43ecd1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -33,5 +33,5 @@ jobs:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
python setup.py sdist
python -m build --sdist
twine upload dist/*