From c69ca6857303860895e7b3650640b3ab9740af81 Mon Sep 17 00:00:00 2001 From: Yuki Okushi Date: Sun, 18 Oct 2020 01:05:16 +0900 Subject: [PATCH] Set mdbook version as env var --- .github/workflows/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3d3004a..ee188b2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,9 +15,11 @@ jobs: rustup toolchain install nightly -c rust-docs rustup default nightly - name: Install mdbook + env: + MDBOOK_VER: v0.4.3 run: | mkdir bin - curl -sSL https://github.com/rust-lang/mdBook/releases/download/v0.3.5/mdbook-v0.3.5-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=bin + curl -sSL https://github.com/rust-lang/mdBook/releases/download/${{ env.MDBOOK_VER }}/mdbook-${{ env.MDBOOK_VER }}-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=bin echo "##[add-path]$(pwd)/bin" - name: Report versions run: |