diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 547f900a..c23be158 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,6 +5,9 @@ on: branches: - main workflow_dispatch: + pull_request: + paths: + - .github/workflows/release.yml env: # Latest Jupyter requires this to acknowledge deprecation @@ -66,6 +69,25 @@ jobs: name: wheel-${{ matrix.py }}-${{ matrix.os }}-${{ matrix.arch }} path: ./wheelhouse/*.whl + pyodide: + needs: release_check + name: Pyodide + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + submodules: true + + - uses: pypa/cibuildwheel@main + env: + CIBW_PLATFORM: pyodide + + - uses: actions/upload-artifact@v4 + with: + name: pyodide + path: ./wheelhouse/*.whl + + sdist: needs: release_check name: source package @@ -83,7 +105,7 @@ jobs: - uses: actions/upload-artifact@v4 with: - name: sdist + name: wheel-sdist path: dist/*.tar.gz upload: @@ -97,7 +119,7 @@ jobs: steps: - uses: actions/download-artifact@v4 with: - pattern: "*" + pattern: "wheel-*" merge-multiple: true path: dist