From cef63b1b1a973f6dd58a327192dc9019d3e10264 Mon Sep 17 00:00:00 2001 From: Maccesch Date: Sun, 28 May 2023 18:15:25 +0100 Subject: [PATCH] optimize github action --- .github/workflows/ci.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ebc7e9b..2cbca7a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,9 +38,10 @@ jobs: #### mdbook - name: Install mdbook run: | - cargo install mdbook - cargo install mdbook-cmdrun - cargo install trunk + curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash + cargo binstall mdbook + cargo binstall mdbook-cmdrun + cargo binstall trunk rustup target add wasm32-unknown-unknown - name: Setup Pages id: pages