Skip to content

Commit

Permalink
Update demo.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Matheus Dias de Souza authored May 1, 2024
1 parent 8154cf7 commit ddb6c01
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,16 @@ jobs:
- uses: actions/checkout@v4
- name: Use nightly Rust
run: rustup default nightly
- name: Add wasm32 target
run: rustup target add wasm32-unknown-unknown
- name: Install wasm-bindgen CLI
run: cargo install wasm-bindgen-cli
- name: Build demo
run: cargo build -p as3_parser_demo --release --target wasm32-unknown-unknown
- name: Update demo/dist
run: wasm-bindgen --target web --out-dir demo/dist target/wasm32-unknown-unknown/release/as3_parser_demo.wasm
- name: Git commit report
run:
git config --global user.name 'hydroper'
git config --global user.email '[email protected]'
git add demo
Expand Down

0 comments on commit ddb6c01

Please sign in to comment.