We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a8ea2a commit 3638cb5Copy full SHA for 3638cb5
1 file changed
.github/workflows/python-publish.yml
@@ -33,12 +33,13 @@ jobs:
33
python -m build
34
twine check --strict dist/*
35
36
- - name: Publish distribution to PyPI
37
- uses: pypa/gh-action-pypi-publish@release/v1
38
- with:
39
- user: __token__
40
- password: ${{ secrets.PYPI_API_TOKEN }}
41
- skip-existing: true
+ - name: Publish distribution to PyPI (twine, skip existing)
+ env:
+ TWINE_USERNAME: __token__
+ TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
+ run: |
+ python -m pip install --upgrade twine
42
+ python -m twine upload --skip-existing dist/*
43
44
# https://github.com/actions/first-interaction/issues/10#issuecomment-1475121828
45
- name: Create GitHub Release
0 commit comments