Update python-publish.yml
This commit is contained in:
parent
befe8bd087
commit
4377c021d7
|
@ -34,9 +34,9 @@ jobs:
|
||||||
# run: python -m build
|
# run: python -m build
|
||||||
# - name: Publish package
|
# - name: Publish package
|
||||||
# uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
|
# uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
|
||||||
# with:
|
# with:
|
||||||
# user: ${{ secrets.PYPI_API_USER }}
|
# user: ${{ secrets.PYPI_API_USER }}
|
||||||
# password: ${{ secrets.PYPI_API_PASSWORD }}
|
# password: ${{ secrets.PYPI_API_PASSWORD }}
|
||||||
|
|
||||||
pypi-publish:
|
pypi-publish:
|
||||||
name: upload release to PyPI
|
name: upload release to PyPI
|
||||||
|
@ -50,4 +50,4 @@ jobs:
|
||||||
- uses: pdm-project/setup-pdm@v3
|
- uses: pdm-project/setup-pdm@v3
|
||||||
|
|
||||||
- name: Publish package distributions to PyPI
|
- name: Publish package distributions to PyPI
|
||||||
run: pdm publish
|
run: pdm publish -u ${{ secrets.PYPI_API_USER }} -p ${{ secrets.PYPI_API_PASSWORD }}
|
||||||
|
|
Loading…
Reference in New Issue