Skip to content

Commit dcfc70c

Browse files
committed
Add auditwheel repair step to Linux wheel build so wheels receive PyPI-compliant manylinux platform tags
1 parent a22cd99 commit dcfc70c

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,15 @@ jobs:
7272
shell: bash -l {0}
7373
run: bazel run //:build_pip_package
7474

75+
- name: Repair Linux Wheel with Auditwheel
76+
if: runner.os == 'Linux'
77+
shell: bash -l {0}
78+
run: |
79+
python -m pip install auditwheel
80+
auditwheel repair dist/*.whl -w repaired_wheels/
81+
rm -f dist/*.whl
82+
mv repaired_wheels/*.whl dist/
83+
7584
- name: Upload Wheel Artifact
7685
uses: actions/upload-artifact@v4
7786
with:

0 commit comments

Comments
 (0)