File tree 1 file changed +9
-6
lines changed
1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change 9
9
10
10
jobs :
11
11
deploy :
12
-
13
12
runs-on : ubuntu-latest
14
-
15
13
steps :
16
14
- uses : actions/checkout@v2
17
15
- name : Set up Python
@@ -21,11 +19,16 @@ jobs:
21
19
- name : Install dependencies
22
20
run : |
23
21
python -m pip install --upgrade pip
24
- pip install setuptools wheel twine
25
- - name : Build and publish
22
+ pip install setuptools wheel twine numpy
23
+ - name : Build manylinux Python wheels
24
+ uses : RalfG/python-wheels-manylinux-build@v0.4.2-manylinux2014_x86_64
25
+ with :
26
+ python-versions : ' cp36-cp36m cp37-cp37m'
27
+ build-requirements : ' cython numpy'
28
+ - name : Publish wheels to PyPI
26
29
env :
27
30
TWINE_USERNAME : ${{ secrets.PYPI_USERNAME }}
28
31
TWINE_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
29
32
run : |
30
- python setup.py sdist
31
- twine upload dist/*
33
+ twine upload dist/*-manylinux*.whl
34
+
You can’t perform that action at this time.
0 commit comments