optimize github action

This commit is contained in:
Maccesch 2023-05-28 18:15:25 +01:00
parent 3d02c91de3
commit cef63b1b1a

View file

@ -38,9 +38,10 @@ jobs:
#### mdbook #### mdbook
- name: Install mdbook - name: Install mdbook
run: | run: |
cargo install mdbook curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
cargo install mdbook-cmdrun cargo binstall mdbook
cargo install trunk cargo binstall mdbook-cmdrun
cargo binstall trunk
rustup target add wasm32-unknown-unknown rustup target add wasm32-unknown-unknown
- name: Setup Pages - name: Setup Pages
id: pages id: pages