@@ -136,43 +136,6 @@ jobs:
136
136
name : wheels-macos-${{ matrix.platform.target }}
137
137
path : dist
138
138
139
- emscripten :
140
- runs-on : ${{ matrix.platform.runner }}
141
- strategy :
142
- matrix :
143
- platform :
144
- - runner : ubuntu-22.04
145
- target : wasm32-unknown-emscripten
146
- steps :
147
- - uses : actions/checkout@v4
148
- - run : pip install pyodide-build
149
- - name : Get Emscripten and Python version info
150
- shell : bash
151
- run : |
152
- echo EMSCRIPTEN_VERSION=$(pyodide config get emscripten_version) >> $GITHUB_ENV
153
- echo PYTHON_VERSION=$(pyodide config get python_version | cut -d '.' -f 1-2) >> $GITHUB_ENV
154
- pip uninstall -y pyodide-build
155
- - uses : mymindstorm/setup-emsdk@v12
156
- with :
157
- version : ${{ env.EMSCRIPTEN_VERSION }}
158
- actions-cache-folder : emsdk-cache
159
- - uses : actions/setup-python@v5
160
- with :
161
- python-version : ${{ env.PYTHON_VERSION }}
162
- - run : pip install pyodide-build
163
- - name : Build wheels
164
- uses : PyO3/maturin-action@v1
165
- with :
166
- target : ${{ matrix.platform.target }}
167
- args : --release --out dist -i ${{ env.PYTHON_VERSION }}
168
- sccache : ${{ !startsWith(github.ref, 'refs/tags/') }}
169
- rust-toolchain : nightly
170
- - name : Upload wheels
171
- uses : actions/upload-artifact@v4
172
- with :
173
- name : wasm-wheels
174
- path : dist
175
-
176
139
sdist :
177
140
runs-on : ubuntu-latest
178
141
steps :
@@ -192,7 +155,7 @@ jobs:
192
155
name : Release
193
156
runs-on : ubuntu-latest
194
157
if : ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
195
- needs : [linux, musllinux, windows, macos, emscripten, sdist]
158
+ needs : [linux, musllinux, windows, macos, sdist]
196
159
permissions :
197
160
# Use to sign the release artifacts
198
161
id-token : write
@@ -217,6 +180,5 @@ jobs:
217
180
- name : Upload to GitHub Release
218
181
uses : softprops/action-gh-release@v1
219
182
with :
220
- files : |
221
- wasm-wheels/*.whl
183
+ files : " "
222
184
prerelease : ${{ contains(github.ref, 'alpha') || contains(github.ref, 'beta') }}
0 commit comments