Skip to content
Snippets Groups Projects
Commit 062c3a9e authored by tqtg's avatar tqtg
Browse files

only rename linux wheels on ubuntu

parent c71c8681
No related branches found
No related tags found
No related merge requests found
...@@ -48,7 +48,11 @@ jobs: ...@@ -48,7 +48,11 @@ jobs:
- name: Build wheels - name: Build wheels
run: python setup.py bdist_wheel run: python setup.py bdist_wheel
- name: Rename Linux wheels to supported platform of PyPI
if: matrix.os == 'ubuntu-latest'
run: for f in dist/*.whl; do mv "$f" "$(echo "$f" | sed s/linux/manylinux1/)"; done
- name: Publish wheels to GitHub artifacts - name: Publish wheels to GitHub artifacts
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
...@@ -66,9 +70,6 @@ jobs: ...@@ -66,9 +70,6 @@ jobs:
with: with:
name: wheels name: wheels
path: dist/ path: dist/
- name: Rename Linux wheels to supported platform of PyPI
run: for f in dist/*.whl; do mv "$f" "$(echo "$f" | sed s/linux/manylinux1/)"; done
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment