mirror of
https://github.com/kmc7468/cs220.git
synced 2025-12-12 21:08:45 +00:00
Fix rustdoc action
This commit is contained in:
4
.github/workflows/rustdoc.yaml
vendored
4
.github/workflows/rustdoc.yaml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user