We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ea274d commit 5133601Copy full SHA for 5133601
.github/workflows/py_publish.yml
@@ -3,13 +3,7 @@ name: (Py)Build and Publish to PyPi
3
on:
4
workflow_dispatch:
5
6
-env:
7
- TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
8
- TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
9
- TWINE_PYPI_ARGS: ""
10
-
11
jobs:
12
13
wheels:
14
name: Build sdist and wheel
15
runs-on: ubuntu-latest
@@ -53,7 +47,9 @@ jobs:
53
47
54
48
- name: Publish wheels to PyPI
55
49
run: |
56
- python3 -m pip install twine
57
- ls -la dist/
58
- twine upload ${{ env.TWINE_PYPI_ARGS }} --skip-existing dist/*.whl
59
- twine upload ${{ env.TWINE_PYPI_ARGS }} dist/*tar.gz
50
+ python3 -m pip install twine
51
+ python3 -m twine upload --verbose --skip-existing dist/*.whl
52
+ python3 -m twine upload --verbose --skip-existing dist/*tar.gz
+ env:
+ TWINE_USERNAME: __token__
+ TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
0 commit comments