This repository was archived by the owner on May 6, 2022. It is now read-only.
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 44name : Upload Python Package
55
66on :
7- release :
8- types : [created]
7+ release :
8+ types : [created]
99
1010jobs :
11- deploy :
12- runs-on : ubuntu-latest
11+ deploy :
12+ runs-on : ubuntu-latest
1313
14- steps :
15- - uses : actions/checkout@v2
16- - name : Set up Python
17- uses : actions/setup-python@v2
18- with :
19- python-version : " 3.8"
20- - name : Install dependencies
21- run : |
22- python -m pip install --upgrade pip
23- pip install setuptools numpy Cython wheel twine
24- - name : Build and publish
25- env :
26- TWINE_USERNAME : ${{ secrets.PYPI_USERNAME }}
27- TWINE_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
28- run : |
29- python setup.py sdist bdist_wheel
30- twine upload dist/*
14+ steps :
15+ - uses : actions/checkout@v2
16+ - name : Set up Python
17+ uses : actions/setup-python@v2
18+ with :
19+ python-version : " 3.8"
20+ - name : Install dependencies
21+ run : |
22+ python -m pip install --upgrade pip
23+ pip install setuptools numpy Cython wheel twine
24+ - name : Build and publish
25+ env :
26+ TWINE_USERNAME : ${{ secrets.PYPI_USERNAME }}
27+ TWINE_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
28+ run : |
29+ python setup.py sdist bdist_wheel
30+ twine upload dist/*
You can’t perform that action at this time.
0 commit comments