Skip to content

Commit 922655f

Browse files
committed
ci: update mdbook.
1 parent 8945fa6 commit 922655f

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

.github/workflows/bindgen.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,6 @@ jobs:
164164
# NOTE(emilio): Change deploy-book as well if you change this.
165165
- name: Test book
166166
run: |
167-
cargo install mdbook --root mdbook-install --vers "^0.2.1" --force
168-
./mdbook-install/bin/mdbook build book
169-
./mdbook-install/bin/mdbook test book
167+
curl -L https://github.com/rust-lang/mdBook/releases/download/v0.4.4/mdbook-v0.4.4-x86_64-unknown-linux-gnu.tar.gz | tar xz
168+
./mdbook build book
169+
./mdbook test book

.github/workflows/deploy-book.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ jobs:
2222

2323
- name: Test book
2424
run: |
25-
cargo install mdbook --root mdbook-install --vers "^0.2.1" --force
26-
./mdbook-install/bin/mdbook build book
27-
./mdbook-install/bin/mdbook test book
25+
curl -L https://github.com/rust-lang/mdBook/releases/download/v0.4.4/mdbook-v0.4.4-x86_64-unknown-linux-gnu.tar.gz | tar xz
26+
./mdbook build book
27+
./mdbook test book
2828
2929
- name: Deploy book
3030
uses: JamesIves/github-pages-deploy-action@3.7.1

book/book.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
[book]
12
title = "The `bindgen` User Guide"
23
author = "The Servo project developers"
34
description = "`bindgen` automatically generates Rust FFI bindings to C and C++ libraries."

0 commit comments

Comments
 (0)