File tree Expand file tree Collapse file tree 1 file changed +31
-8
lines changed
Expand file tree Collapse file tree 1 file changed +31
-8
lines changed Original file line number Diff line number Diff line change 88 types : [created]
99
1010jobs :
11- deploy :
12-
11+ Linux-build :
1312 runs-on : ubuntu-latest
14-
13+ env :
14+ TWINE_USERNAME : ${{ secrets.TWINE_USERNAME }}
15+ TWINE_PASSWORD : ${{ secrets.TWINE_PASSWORD }}
1516 steps :
17+ - uses : actions/checkout@v2
18+
19+ - name : Install dependencies
20+ run : |
21+ python -m pip install --upgrade pip
22+ pip install setuptools wheel twine cython
23+
24+ - name : build and upload manylinux wheels
25+ uses : Niraj-Kamdar/manylinux-wheel-builder@master
26+
27+ Matrix-build :
28+ runs-on : ${{ matrix.os }}
29+ env :
30+ TWINE_USERNAME : ${{ secrets.TWINE_USERNAME }}
31+ TWINE_PASSWORD : ${{ secrets.TWINE_PASSWORD }}
32+ strategy :
33+ matrix :
34+ os : [macos-latest, windows-latest]
35+ python-version : ' 3.x'
36+ steps :
1637 - uses : actions/checkout@v2
1738 - name : Set up Python
1839 uses : actions/setup-python@v2
1940 with :
20- python-version : ' 3.x '
41+ python-version : ${{ matrix.python-version }}
2142 - name : Install dependencies
2243 run : |
2344 python -m pip install --upgrade pip
2445 pip install setuptools wheel twine cython
25- - name : Build and publish
26- env :
27- TWINE_USERNAME : ${{ secrets.PYPI_USERNAME }}
28- TWINE_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
46+ - name : build wheel
2947 run : |
48+ pip install wheel
3049 python setup.py sdist bdist_wheel
50+ - name : upload wheel
51+ run : |
52+ pip install twine
3153 twine upload dist/*
54+ continue-on-error : true
You can’t perform that action at this time.
0 commit comments