diff --git a/.forgejo/workflows/release.yml b/.forgejo/workflows/release.yml index 6d75950..ede8713 100644 --- a/.forgejo/workflows/release.yml +++ b/.forgejo/workflows/release.yml @@ -30,7 +30,6 @@ jobs: run: | rustup update rustup target add wasm32-unknown-unknown - cargo install -f wasm-bindgen-cli --version 0.2.95 - name: Install cargo-deb run: cargo install cargo-deb --no-default-features @@ -39,10 +38,12 @@ jobs: run: cargo install --locked trunk - name: Fetch dependencies - run: cargo fetch --locked + run: | + cargo fetch --locked + - name: Build wasm - run: cd lapdev-dashboard && trunk build --release --public-url /static/ + run: cargo install -f wasm-bindgen-cli --version 0.2.95 && cd lapdev-dashboard && trunk build --release --public-url /static/ - name: Compress static files run: cd lapdev-dashboard/dist/ && gzip -k *