fix(ci): install rust before installing mdbook
This commit is contained in:
parent
24724bd32e
commit
4739b739f4
1 changed files with 5 additions and 0 deletions
|
|
@ -17,6 +17,11 @@ jobs:
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Install Rust
|
||||||
|
run: |
|
||||||
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable --profile minimal
|
||||||
|
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
|
||||||
|
|
||||||
- name: Install mdBook
|
- name: Install mdBook
|
||||||
run: |
|
run: |
|
||||||
if ! command -v mdbook &> /dev/null; then
|
if ! command -v mdbook &> /dev/null; then
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue