Skip to content

Commit 3e7c360

Browse files
committed
- remove "bad" Linux wheels as well
1 parent f134dc2 commit 3e7c360

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -612,17 +612,16 @@ jobs:
612612
echo "Total wheel files:"
613613
find dist/ -name "*.whl" | wc -l
614614
615-
- name: Remove PyPy wheels (if any were downloaded)
615+
- name: Remove undesired wheels (if any were downloaded)
616616
run: |
617617
# PyPy wheels shouldn't be uploaded, remove them if present
618618
find dist/ -name "*pypy*" -type f -delete || true
619619
find dist/ -name "*none-any*" -type f -delete || true
620-
621-
- name: Remove wheels for future Python (if any were downloaded)
622-
run: |
623620
# Wheels for the no-yet-supported future Python version need to go
624621
find dist/ -name "*3.15*" -type f -delete || true
625622
find dist/ -name "*cp315*" -type f -delete || true
623+
# For Linux, we only want the manylinux wheels
624+
find dist/ -name "*linux_x86_64*" -type f -delete || true
626625
627626
- name: Publish to PyPI
628627
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)