■ ■ ■ ■ ■ ■
.github/workflows/pipup.yml
1 | 1 | | # This is a basic workflow to help you get started with Actions |
2 | 2 | | |
3 | | - | name: Upload to PIP |
| 3 | + | name: Upload to PYPI |
4 | 4 | | |
5 | 5 | | # Controls when the action will run. |
6 | 6 | | on: |
| skipped 36 lines |
43 | 43 | | python3 setup.py sdist bdist_wheel |
44 | 44 | | python3 -m twine upload dist/* |
45 | 45 | | env: |
46 | | - | TWINE_USERNAME: __token__ |
| 46 | + | TWINE_USERNAME: ${{ secrets.PYPI_USER }} |
47 | 47 | | TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} |
48 | | - | |