Skip to content

Commit 0f96db1

Browse files
authored
remove old wheel for pypi to pick the correct one
1 parent b30561b commit 0f96db1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/pypi_release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ jobs:
1818
/opt/python/cp312-cp312/bin/python -m pip install --upgrade pip build auditwheel && \
1919
/opt/python/cp312-cp312/bin/python -m pip install -r requirements.txt && \
2020
/opt/python/cp312-cp312/bin/python -m build --wheel --outdir /io/dist && \
21-
auditwheel repair /io/dist/*.whl --wheel-dir /io/dist"
21+
rm -f /io/dist/*linux_x86_64.whl && \
22+
auditwheel repair /io/dist/*.whl --plat manylinux_2_28_x86_64 --wheel-dir /io/dist"
2223
2324
- name: List built wheels (debugging step)
2425
run: ls -lh dist/

0 commit comments

Comments
 (0)