Skip to content

Commit

Permalink
Fix building wheels during release (#1242)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco authored Oct 12, 2024
1 parent da133b3 commit 7ec48b8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 14 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,8 @@ jobs:
*-musllinux_*
*-win32
pp*'
|| ''
|| (matrix.tag == 'musllinux') && '*-manylinux_*'
|| '*-musllinux_*'
}}
source-tarball-name: >-
${{ needs.build-pure-python-dists.outputs.sdist-filename }}
Expand Down Expand Up @@ -493,6 +494,12 @@ jobs:
with:
qemu: ${{ matrix.qemu }}
tag: ${{ matrix.tag }}
wheel-tags-to-skip: >-
${{
(matrix.tag == 'musllinux')
&& '*-manylinux_*'
|| '*-musllinux_*'
}}
source-tarball-name: >-
${{ needs.build-pure-python-dists.outputs.sdist-filename }}
dists-artifact-name: ${{ needs.pre-setup.outputs.dists-artifact-name }}
Expand Down
13 changes: 0 additions & 13 deletions .github/workflows/reusable-build-wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ jobs:
with:
platforms: all
id: qemu

- name: Prepare emulation
if: inputs.qemu
run: |
Expand All @@ -79,18 +78,6 @@ jobs:
echo "CIBW_SKIP=${{ inputs.wheel-tags-to-skip }}" >> "${GITHUB_ENV}"
shell: bash

- name: Skip manylinux wheels
if: inputs.tag == 'musllinux'
run: |
echo "CIBW_SKIP=$CIBW_SKIP *manylinux*" >> "${GITHUB_ENV}"
shell: bash

- name: Skip musllinux wheels
if: inputs.tag == ''
run: |
echo "CIBW_SKIP=$CIBW_SKIP *musllinux*" >> "${GITHUB_ENV}"
shell: bash

- name: Build wheels
uses: pypa/[email protected]
env:
Expand Down

0 comments on commit 7ec48b8

Please sign in to comment.