Create main.yml #1
This file contains 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
# This file is autogenerated by maturin v1.3.1 | |
# To update, run | |
# | |
# maturin generate-ci github | |
# | |
name: WebAssembly | |
on: | |
push: | |
branches: | |
- main | |
- master | |
- github-workflow-test | |
tags: | |
- '*' | |
pull_request: | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: jetli/[email protected] | |
with: | |
# Optional version of wasm-pack to install(eg. 'v0.9.1', 'latest') | |
version: 'latest' | |
- steps: | |
- uses: actions/checkout@v2 | |
- run: | | |
wasm-pack --version | |
wasm-pack build --target web |