From a79d44c9a06a759f167c51647e4de25d1cfb51c8 Mon Sep 17 00:00:00 2001 From: cstef Date: Mon, 17 Jun 2024 21:32:23 +0200 Subject: [PATCH] ci: use binstall instead of compiling mdbook --- .github/workflows/deploy.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b79c039..93812f9 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -22,10 +22,11 @@ jobs: profile: minimal toolchain: stable override: true - - name: Rust Cache - uses: Swatinem/rust-cache@v2 + - name: Install cargo-binstall + uses: cargo-bins/cargo-binstall@v1.7.1 + - name: Install mdbook - run: cargo install mdbook mdbook-admonish mdbook-emojicodes + run: cargo binstall mdbook mdbook-admonish mdbook-emojicodes -y - name: Build Book run: | cd docs