WASM build #6
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Release WASM | |
| on: | |
| push: | |
| tags: | |
| - '0.0.1' | |
| - 'v*' | |
| permissions: | |
| contents: write | |
| jobs: | |
| build-and-release: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.11' | |
| - name: Install dependencies | |
| run: | | |
| make install_deps | |
| - name: Build WASM | |
| run: | | |
| make build_wasm | |
| cp bin/cdd-python-all.wasm . | |
| - name: Release WASM Artifact | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| files: cdd-python-all.wasm |