Update python-publish.yml

This commit is contained in:
Bryant He 2023-11-06 16:48:09 +08:00 committed by GitHub
parent befe8bd087
commit 4377c021d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -34,9 +34,9 @@ jobs:
# run: python -m build
# - name: Publish package
# uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
# with:
# user: ${{ secrets.PYPI_API_USER }}
# password: ${{ secrets.PYPI_API_PASSWORD }}
# with:
# user: ${{ secrets.PYPI_API_USER }}
# password: ${{ secrets.PYPI_API_PASSWORD }}
pypi-publish:
name: upload release to PyPI
@ -50,4 +50,4 @@ jobs:
- uses: pdm-project/setup-pdm@v3
- name: Publish package distributions to PyPI
run: pdm publish
run: pdm publish -u ${{ secrets.PYPI_API_USER }} -p ${{ secrets.PYPI_API_PASSWORD }}