Skip to content

Commit 9f5bf46

Browse files
committed
Upload wasm32 wheels automatically to github release area
1 parent ad9dd50 commit 9f5bf46

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/wasm.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,10 @@ jobs:
5454
with:
5555
name: wheels-wasm-${{ matrix.os }}-${{ matrix.p_ver }}
5656
path: ./wheelhouse/*.whl
57+
58+
- name: Upload wheel to release
59+
if: startsWith(github.ref, 'refs/tags/')
60+
env:
61+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
62+
run: |
63+
gh release upload ${GITHUB_REF_NAME} ./wheelhouse/*.whl

0 commit comments

Comments
 (0)