From c656aacd4e9421e369669be71bc62ca4deccfea0 Mon Sep 17 00:00:00 2001 From: peaceiris <30958501+peaceiris@users.noreply.github.com> Date: Wed, 20 Nov 2019 18:15:13 +0900 Subject: [PATCH] docs: update mdbook example workflow --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index afb8b74..272b64c 100644 --- a/README.md +++ b/README.md @@ -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"