From 424032f2994783e30b140fcef6b0c21da1b81ac6 Mon Sep 17 00:00:00 2001 From: Jeehoon Kang Date: Wed, 21 Jun 2023 02:30:42 +0900 Subject: [PATCH] Fix rustdoc action --- .github/workflows/rustdoc.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rustdoc.yaml b/.github/workflows/rustdoc.yaml index 21d0268..1e7ca68 100644 --- a/.github/workflows/rustdoc.yaml +++ b/.github/workflows/rustdoc.yaml @@ -23,10 +23,10 @@ jobs: run: if ! command -v rustup &>/dev/null; then (curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y); fi - name: Install Rust toolchain - run: rustup update --no-self-update stable + run: source "$HOME/.cargo/env"; rustup update --no-self-update stable - name: Build Documentation - run: cargo doc --all --no-deps + run: source "$HOME/.cargo/env"; cargo doc --all --no-deps - name: Deploy Docs uses: peaceiris/actions-gh-pages@364c31d33bb99327c77b3a5438a83a357a6729ad # v3.4.0