Skip to content

Commit 8779d87

Browse files
Use just one step, inherit CIBW_PLATFORM if not set
Co-Authored-By: Thomas Li <[email protected]>
1 parent 04cee9a commit 8779d87

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

.github/workflows/wheels.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -154,15 +154,7 @@ jobs:
154154
env:
155155
CIBW_PRERELEASE_PYTHONS: True
156156
CIBW_BUILD: ${{ matrix.python[0] }}-${{ matrix.buildplat[1] }}
157-
158-
- name: Build wheels (Pyodide)
159-
uses: pypa/[email protected]
160-
with:
161-
package-dir: ./dist/${{ startsWith(matrix.buildplat[1], 'macosx') && env.sdist_name || needs.build_sdist.outputs.sdist_file }}
162-
if: ${{ matrix.buildplat[1] == 'pyodide_wasm32' }}
163-
env:
164-
CIBW_BUILD: ${{ matrix.python[0] }}-${{ matrix.buildplat[1] }}
165-
CIBW_PLATFORM: pyodide
157+
CIBW_PLATFORM: ${{ matrix.buildplat[1] == 'pyodide_wasm32' && 'pyodide' || 'auto' }}
166158

167159
- name: Set up Python
168160
uses: mamba-org/setup-micromamba@v1

0 commit comments

Comments
 (0)