File tree 1 file changed +6
-10
lines changed
1 file changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -3,13 +3,7 @@ name: (Py)Build and Publish to PyPi
3
3
on :
4
4
workflow_dispatch :
5
5
6
- env :
7
- TWINE_USERNAME : ${{ secrets.PYPI_USERNAME }}
8
- TWINE_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
9
- TWINE_PYPI_ARGS : " "
10
-
11
6
jobs :
12
-
13
7
wheels :
14
8
name : Build sdist and wheel
15
9
runs-on : ubuntu-latest
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
53
+ env :
54
+ TWINE_USERNAME : __token__
55
+ TWINE_PASSWORD : ${{ secrets.PYPI_TOKEN }}
You can’t perform that action at this time.
0 commit comments