File tree Expand file tree Collapse file tree 1 file changed +21
-21
lines changed
Expand file tree Collapse file tree 1 file changed +21
-21
lines changed Original file line number Diff line number Diff line change 77name : Upload Python Package
88
99on :
10- release :
11- types : [created]
10+ release :
11+ types : [created]
1212
1313jobs :
14- deploy :
14+ deploy :
1515
16- runs-on : ubuntu-latest
16+ runs-on : ubuntu-latest
1717
18- steps :
19- - uses : actions/checkout@v2
20- - name : Set up Python
21- uses : actions/setup-python@v2
22- with :
23- python-version : 3.x
24- - name : Install dependencies
25- run : |
26- python -m pip install --upgrade pip
27- pip install setuptools wheel twine
28- - name : Build and publish
29- env :
30- TWINE_USERNAME : __token__
31- TWINE_PASSWORD : ${{ secrets.PYPI_API_TOKEN }}
32- run : |
33- python setup.py sdist bdist_wheel
34- twine upload dist/*
18+ steps :
19+ - uses : actions/checkout@v2
20+ - name : Set up Python
21+ uses : actions/setup-python@v2
22+ with :
23+ python-version : 3.x
24+ - name : Install dependencies
25+ run : |
26+ python -m pip install --upgrade pip
27+ pip install setuptools wheel twine
28+ - name : Build and publish
29+ env :
30+ TWINE_USERNAME : __token__
31+ TWINE_PASSWORD : ${{ secrets.PYPI_API_TOKEN }}
32+ run : |
33+ python setup.py sdist bdist_wheel
34+ twine upload dist/*
You can’t perform that action at this time.
0 commit comments