Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
docs: update mdbook example workflow
  • Loading branch information
peaceiris committed Nov 20, 2019
1 parent 34c4d59 commit c656aac
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Expand Up @@ -648,9 +648,10 @@ jobs:
- name: Setup mdbook
run: |
export MDBOOK_VERSION="v0.3.5"
wget "https://github.com/rust-lang/mdBook/releases/download/${MDBOOK_VERSION}/mdbook-${MDBOOK_VERSION}-x86_64-unknown-linux-gnu.tar.gz"
tar -zxvf "mdbook-${MDBOOK_VERSION}-x86_64-unknown-linux-gnu.tar.gz"
rm "mdbook-${MDBOOK_VERSION}-x86_64-unknown-linux-gnu.tar.gz"
export MDBOOK_TARBALL="mdbook-${MDBOOK_VERSION}-x86_64-unknown-linux-gnu.tar.gz"
wget "https://github.com/rust-lang/mdBook/releases/download/${MDBOOK_VERSION}/${MDBOOK_TARBALL}"
tar -zxvf "${MDBOOK_TARBALL}"
rm "${MDBOOK_TARBALL}"
mkdir ~/bin
mv ./mdbook ~/bin/
echo "::add-path::~/bin"
Expand Down

0 comments on commit c656aac

Please sign in to comment.