Skip to content

Commit b7dabfa

Browse files
committed
enusre mdbook is in path in github actions
1 parent 111b31b commit b7dabfa

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/archive.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ jobs:
2424
run: cargo run
2525

2626
- name: Build the book
27-
run: mdbook build
27+
run: |
28+
export PATH="$CARGO_HOME/bin:$PATH"
29+
mdbook build
2830
2931
- name: Create XRNX_Starter_Pack
3032
run: |

.github/workflows/pages.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ jobs:
2727
run: cargo run
2828

2929
- name: Build the book
30-
run: mdbook build
30+
run: |
31+
export PATH="$CARGO_HOME/bin:$PATH"
32+
mdbook build
3133
3234
- name: Upload
3335
uses: actions/upload-pages-artifact@v3

0 commit comments

Comments
 (0)