Skip to content

Commit 91bd1b0

Browse files
authored
Do not build the book during test (#432)
Avoid spurious changes in the build output directory.
1 parent e568a92 commit 91bd1b0

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/book.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,12 @@ jobs:
2525
- uses: actions/checkout@v4
2626
with: { fetch-depth: 0 }
2727

28-
- name: Install mdBook
28+
- name: Install and test the mdBook
2929
run: make test-book
3030

31+
- name: Build book
32+
run: mdbook build book
33+
3134
- name: Build book to tmp
3235
run: mdbook build book -d docs-tmp
3336

Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ test-llvm-builder:
9292
test-book:
9393
cargo install mdbook --version 0.5.1 --locked
9494
mdbook test book
95-
mdbook build book
9695

9796
bench: install-bin
9897
cargo criterion --all --all-features --message-format=json \

0 commit comments

Comments
 (0)