Skip to content

Commit

Permalink
Optimise wasm_bg and don't copy the original WASM build
Browse files Browse the repository at this point in the history
  • Loading branch information
NiklasEi committed Jan 12, 2022
1 parent d49517b commit c85771c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ jobs:
- name: optimize
uses: NiklasEi/[email protected]
with:
file: build/web/target/oicana.wasm
output: build/web/target/oicana.wasm
file: build/web/target/wasm_bg.wasm
output: build/web/target/wasm_bg.wasm
- name: Zip release
uses: vimtor/action-zip@v1
with:
Expand Down
1 change: 0 additions & 1 deletion Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ mkdir ${target}
cp ${windows}/icon.ico ${web}/favicon.ico
cp ${TARGET_DIR}${CARGO_MAKE_CRATE_NAME}.wasm ${target}/${CARGO_MAKE_CRATE_NAME}.wasm
cp ${TARGET_DIR}wasm.js ${target}/wasm.js
cp ${TARGET_DIR}wasm_bg.wasm ${target}/wasm_bg.wasm
cp ./index.html ${web}/index.html
Expand Down

0 comments on commit c85771c

Please sign in to comment.