Skip to content

Commit 99fe172

Browse files
committed
Update github action to fix linux wheel
1 parent e7437ad commit 99fe172

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/pythonpublish.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,13 @@ jobs:
1818
python -m pip install --upgrade pip
1919
pip install setuptools wheel twine
2020
pip install scikit-learn cython
21+
pip install auditwheel
2122
- name: Build and publish
2223
env:
2324
TWINE_USERNAME: __token__
2425
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
2526
run: |
2627
python setup.py sdist bdist_wheel
27-
twine upload dist/*
28+
twine upload dist/*.tar.gz
29+
auditwheel repair dist/*linux_x86_64.whl
30+
twine upload wheelhouse/*.whl

0 commit comments

Comments
 (0)