File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6161 pdm sync -v -dG build --no-isolation
6262 pdm run test --cov=./baize -o log_cli=true -o log_cli_level=DEBUG
6363
64+ - name : Try repair linux binary wheel
65+ if : matrix.os == 'ubuntu-latest'
66+ run : |
67+ pip install auditwheel
68+ pdm build --no-isolation
69+ auditwheel show dist/*-linux*.whl
70+ auditwheel repair dist/*-linux*.whl -w ./dist --plat manylinux_2_17_x86_64
71+
6472 publish :
6573 needs : tests
6674 if : startsWith(github.ref, 'refs/tags/')
@@ -93,6 +101,18 @@ jobs:
93101 run : |
94102 pdm build --no-isolation
95103
104+ - name : Repair linux binary wheel
105+ if : matrix.os == 'ubuntu-latest'
106+ run : |
107+ pip install auditwheel
108+ auditwheel show dist/*-linux*.whl
109+ auditwheel repair dist/*-linux*.whl -w ./dist --plat manylinux_2_17_x86_64
110+ rm -f $(find dist -name *-linux*.whl)
111+
112+ - name : Publish
113+ run : |
114+ twine upload --username __token__ --password ${{ secrets.PYPI_API_TOKEN }} --verbose --skip-existing dist/*
115+
96116 - name : Build pure python wheel
97117 run : |
98118 python script/disable_build.py
You can’t perform that action at this time.
0 commit comments