From d70e786b660a61339338c504fdd569ebe099bc87 Mon Sep 17 00:00:00 2001 From: Maximilian Ammann Date: Sun, 23 Oct 2022 12:43:50 +0200 Subject: [PATCH] Fix installs --- .github/workflows/build-deploy-docs.yml | 5 +++-- .github/workflows/library-web.yml | 9 +++++---- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-deploy-docs.yml b/.github/workflows/build-deploy-docs.yml index bd2d57a6..16397447 100644 --- a/.github/workflows/build-deploy-docs.yml +++ b/.github/workflows/build-deploy-docs.yml @@ -25,8 +25,9 @@ jobs: run: just stable-toolchain - uses: Swatinem/rust-cache@v2 - name: Install mdbook - shell: bash - run: cargo binstall mdbook + uses: ./.github/actions/cargo-install + with: + name: mdbook - name: Install Dependencies shell: bash run: sudo apt-get install -y libwayland-dev libxkbcommon-dev # Required for winit diff --git a/.github/workflows/library-web.yml b/.github/workflows/library-web.yml index 081a0926..15c6ee1a 100644 --- a/.github/workflows/library-web.yml +++ b/.github/workflows/library-web.yml @@ -44,10 +44,11 @@ jobs: run: | just nightly-install-src - name: Install wasm-bindgen - shell: bash - run: | - # Install wasm-bindgen with test runner - cargo binstall wasm-bindgen-cli # We want the latest version, as Cargo uses the latest version of wasm-bindgen + uses: ./.github/actions/cargo-install + # Install wasm-bindgen with test runner + # We want the latest version, as Cargo uses the latest version of wasm-bindgen + with: + name: wasm-bindgen-cli - uses: Swatinem/rust-cache@v2 - name: Build lib shell: bash