diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index c2212c9..1ae4705 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -146,11 +146,10 @@ jobs: - name: Build Release run: | trunk build --release -# - name: optimize Wasm -# uses: NiklasEi/wasm-opt@v1 -# with: -# file: build/web/target/wasm_bg.wasm -# output: build/web/target/wasm_bg.wasm + - name: optimize Wasm + uses: NiklasEi/wasm-opt@v2 + with: + file: build/web/target/*.wasm - name: Zip release uses: vimtor/action-zip@v1 with: