From 4022f5a10cef8855963fc20d4d7912c0e63cdef2 Mon Sep 17 00:00:00 2001 From: Ryan Johnson Date: Mon, 9 Oct 2023 21:32:02 -0700 Subject: [PATCH] Simplify website.yml --- .github/workflows/website.yml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml index 1d3e0cf26..13f0abd37 100644 --- a/.github/workflows/website.yml +++ b/.github/workflows/website.yml @@ -26,16 +26,8 @@ jobs: - uses: actions/checkout@v3 with: submodules: recursive - - name: Cache - uses: Swatinem/rust-cache@v2 - id: cache - with: - prefix-key: "website" - - name: Install rust toolchain - if: steps.cache.outputs.cache-hit != 'true' - run: | - curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf -y | sh - rustup update + - name: Setup Rust toolchain and cache + uses: actions-rust-lang/setup-rust-toolchain@v1.5.0 - name: Install latest mdbook run: | tag=$(curl 'https://api.github.com/repos/rust-lang/mdbook/releases/latest' | jq -r '.tag_name')