Skip to content

Commit d4c469d

Browse files
committed
fix: build error
1 parent 64ed4ee commit d4c469d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/mdbook.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ jobs:
3333
MDBOOK_MERMAID_VERSION: 0.10.0
3434
CARGO_HOME: ${{ github.workspace }}/.cargo
3535
RUSTUP_HOME: ${{ github.workspace }}/.rustup
36-
PATH: ${{ github.workspace }}/.cargo/bin:$PATH
3736
steps:
3837
- uses: actions/checkout@v4
3938
- name: Install mdBook
@@ -46,7 +45,7 @@ jobs:
4645
id: pages
4746
uses: actions/configure-pages@v5
4847
- name: Build with mdBook
49-
run: mdbook build
48+
run: ${{ env.CARGO_HOME }}/bin/mdbook build
5049
- name: Upload artifact
5150
uses: actions/upload-pages-artifact@v3
5251
with:

0 commit comments

Comments
 (0)