🔖 bump v2.0.0-preview.1 #148
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
name: Samples Workflow | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- "**.md" | |
- "LICENSE" | |
- "tests/**" | |
- ".vscode/**" | |
pull_request: | |
paths-ignore: | |
- "**.md" | |
- "LICENSE" | |
- "tests/**" | |
- ".vscode/**" | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Install 1.77.0 toolchain | |
uses: dtolnay/rust-toolchain@1.77.0 | |
- name: Install wasm-pack | |
uses: jetli/wasm-pack-action@v0.4.0 | |
- name: Cache Rust dependencies | |
uses: Swatinem/rust-cache@v2 | |
- name: Build WASM example | |
run: (cd samples/wasm/rsw-hello && wasm-pack build --target web) |