Skip to content

Commit a6acd9f

Browse files
committed
ensure mdbook is in path in github actions
1 parent 111b31b commit a6acd9f

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

.github/workflows/archive.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,13 @@ jobs:
1717
- name: Install binstall
1818
uses: cargo-bins/cargo-binstall@main
1919

20-
- name: Install mdbook
21-
run: cargo binstall -y mdbook mdbook-linkcheck mdbook-toc mdbook-alerts
22-
2320
- name: Build the API
2421
run: cargo run
2522

2623
- name: Build the book
27-
run: mdbook build
24+
run: |
25+
cargo binstall -y --force mdbook mdbook-linkcheck mdbook-toc mdbook-alerts
26+
mdbook build
2827
2928
- name: Create XRNX_Starter_Pack
3029
run: |

.github/workflows/pages.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,13 @@ jobs:
2020
- name: Install binstall
2121
uses: cargo-bins/cargo-binstall@main
2222

23-
- name: Install mdbook
24-
run: cargo binstall -y mdbook mdbook-linkcheck mdbook-toc mdbook-alerts
25-
2623
- name: Build the API
2724
run: cargo run
2825

2926
- name: Build the book
30-
run: mdbook build
27+
run: |
28+
cargo binstall -y --force mdbook mdbook-linkcheck mdbook-toc mdbook-alerts
29+
mdbook build
3130
3231
- name: Upload
3332
uses: actions/upload-pages-artifact@v3

0 commit comments

Comments
 (0)