File tree Expand file tree Collapse file tree 1 file changed +7
-11
lines changed
Expand file tree Collapse file tree 1 file changed +7
-11
lines changed Original file line number Diff line number Diff line change @@ -96,15 +96,11 @@ jobs:
9696 python -m pip install --upgrade pip
9797 pip install setuptools wheel twine
9898
99+ - name : Build package
100+ run : python setup.py sdist --verbose
101+
99102 - name : Build and publish
100- env :
101-
102- # Create an account on https://pypi.org/
103- # Add your user/password as secrets in the github repository.
104- # see https://docs.github.com/en/actions/reference/encrypted-secrets
105- TWINE_USERNAME : ${{ secrets.PYPI_USERNAME }}
106- TWINE_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
107-
108- run : |
109- python setup.py sdist --verbose
110- twine upload dist/* --verbose
103+ uses : pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
104+ with :
105+ user : __token__
106+ password : ${{ secrets.PYPI_TOKEN }}
You can’t perform that action at this time.
0 commit comments