From 0d38bc44bd242a58cf283116ab4629b599b01004 Mon Sep 17 00:00:00 2001 From: Zak Stucke Date: Fri, 16 Feb 2024 17:34:41 +0200 Subject: [PATCH] Fix doc build --- .github/workflows/release.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a79fd02e..3b4393fd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -156,6 +156,14 @@ jobs: with: node-version: '20' + - name: Install rust toolchain (doc builds use nightly features) + uses: dtolnay/rust-toolchain@nightly + - uses: Swatinem/rust-cache@v2 + with: + workspaces: "./rust -> target" + cache-on-failure: "true" + cache-all-crates: "true" + - name: Build docs run: | ./dev_scripts/docs.sh build