@@ -55,25 +55,46 @@ jobs:
5555 id : vars
5656 run : echo tag=${GITHUB_REF#refs/*/} >> $GITHUB_OUTPUT
5757
58- - name : Build and publish (Windows)
58+ - name : Build and Publish (Windows)
5959 run : |
6060 source .venv/Scripts/activate
6161 poetry version $RELEASE_VERSION
62- make build-and-publish
62+ make build
63+ for wheel in dist/*.whl; do
64+ delvewheel repair -w wheelhouse $wheel
65+ done
66+ make publish
6367 env :
6468 PYPI_TOKEN : ${{ secrets.PYPI_TOKEN }}
6569 RELEASE_VERSION : ${{ steps.vars.outputs.tag }}
6670 if : ${{ startsWith(matrix.os, 'windows') }}
6771
68- - name : Build and publish (Linux and macOS)
72+ - name : Build and Publish ( macOS)
6973 run : |
7074 source .venv/bin/activate
7175 poetry version $RELEASE_VERSION
72- make build-and-publish
76+ make build
77+ for wheel in dist/*.whl; do
78+ delocate-wheel -w wheelhouse $wheel
79+ done
7380 env :
7481 PYPI_TOKEN : ${{ secrets.PYPI_TOKEN }}
7582 RELEASE_VERSION : ${{ steps.vars.outputs.tag }}
76- if : ${{ startsWith(matrix.os, 'ubuntu') || startsWith(matrix.os, 'macos') }}
83+ if : ${{ startsWith(matrix.os, 'macos') }}
84+
85+ - name : Build and Publish (Linux)
86+ run : |
87+ source .venv/bin/activate
88+ poetry version $RELEASE_VERSION
89+ make build
90+ for wheel in dist/*.whl; do
91+ auditwheel repair -w wheelhouse $wheel
92+ done
93+ make publish
94+ env :
95+ PYPI_TOKEN : ${{ secrets.PYPI_TOKEN }}
96+ RELEASE_VERSION : ${{ steps.vars.outputs.tag }}
97+ if : ${{ startsWith(matrix.os, 'ubuntu') }}
7798
7899 - name : Setup tmate
79100 if : failure()
0 commit comments