Skip to content

Commit 1cc24cb

Browse files
authored
save
1 parent 730b18f commit 1cc24cb

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.github/workflows/mdbook.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,12 @@ jobs:
2828
# Build job
2929
build:
3030
runs-on: ubuntu-latest
31-
env:
32-
MDBOOK_VERSION: 0.4.43
3331
steps:
3432
- uses: actions/checkout@v4
35-
- name: Install mdBook
36-
run: |
37-
curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf -y | sh
38-
rustup update
39-
cargo install --version ${MDBOOK_VERSION} mdbook
40-
33+
34+
- name: Setup mdBook
35+
uses: peaceiris/actions-mdbook@v2
36+
4137
# https://github.com/FauconFan/mdbook-cmdrun
4238
- run: cargo install mdbook-cmdrun
4339

0 commit comments

Comments
 (0)