diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index 76f89cc..a5cdac7 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -140,7 +140,7 @@ jobs: - name: Build wheels uses: pypa/cibuildwheel@7940a4c0e76eb2030e473a5f864f291f63ee879b # v2.21.3 env: - CIBW_BUILD: ${{ matrix.python[0] }}-${{ matrix.buildplat[1] }}* + CIBW_BUILD: ${{ matrix.python[0] }}-${{ matrix.buildplat[1] }}_${{ matrix.buildplat[2] }} CIBW_ARCHS: ${{ matrix.buildplat[2] }} CIBW_PRERELEASE_PYTHONS: True CIBW_FREE_THREADED_SUPPORT: True @@ -182,7 +182,13 @@ jobs: uses: actions/download-artifact@v4 with: path: dist - merge-multiple: true + merge-multiple: false + + - name: check wheels + run: | + for wheel in dist/*.whl; do + head -c 4 wheelhouse/qc_PyCI-0.6.3-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | hexdump -C + done - name: Publish distribution to PyPI uses: pypa/gh-action-pypi-publish@release/v1 diff --git a/setup.py b/setup.py index c617fe2..3b84899 100644 --- a/setup.py +++ b/setup.py @@ -9,9 +9,7 @@ def finalize_options(self): self.root_is_pure = False def get_tag(self): - python, abi, plat = _bdist_wheel.get_tag(self) - python, abi = 'py3', 'none' - return python, abi, plat + return _bdist_wheel.get_tag(self) class MyDistribution(Distribution):