Skip to content

Commit c69ca68

Browse files
committed
Set mdbook version as env var
1 parent 9addcf7 commit c69ca68

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,11 @@ jobs:
1515
rustup toolchain install nightly -c rust-docs
1616
rustup default nightly
1717
- name: Install mdbook
18+
env:
19+
MDBOOK_VER: v0.4.3
1820
run: |
1921
mkdir bin
20-
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
22+
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
2123
echo "##[add-path]$(pwd)/bin"
2224
- name: Report versions
2325
run: |

0 commit comments

Comments
 (0)