Skip to content

Commit

Permalink
bug: use explicit path
Browse files Browse the repository at this point in the history
* Update .github/workflows/publish_docs.yml

Co-authored-by: Philip Jenvey <[email protected]>
  • Loading branch information
jrconlin and pjenvey authored Jul 13, 2023
1 parent d36fb52 commit a51fca5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,15 @@ jobs:
env:
MDBOOK_ENV: 0.4.24
MERMAID_ENV: 0.12.6
DEST_DIR: ~/.cargo/bin
DEST_DIR: /home/runner/.cargo/bin
steps:
# these are other job descriptions to call.
- uses: actions/checkout@v3
- name: Configure rust # TODO: can we export building rust and installing mdbook as an artifact and reuse it?
run: |
curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf -y | sh
rustup update
export PATH=$PATH:$DEST_DIR
- name: Install mdBook
run: |
curl -sSL "https://github.com/rust-lang/mdBook/releases/download/v$MDBOOK_ENV/mdbook-v$MDBOOK_ENV-x86_64-unknown-linux-gnu.tar.gz" | tar -xz --directory $DEST_DIR
Expand Down

0 comments on commit a51fca5

Please sign in to comment.