File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 6
6
name : Test
7
7
runs-on : ubuntu-latest
8
8
steps :
9
- - uses : actions/checkout@master
9
+ - uses : actions/checkout@v2
10
10
- name : Update rustup
11
11
run : rustup self update
12
12
- name : Install Rust
@@ -15,10 +15,12 @@ jobs:
15
15
rustup toolchain install nightly -c rust-docs
16
16
rustup default nightly
17
17
- name : Install mdbook
18
+ env :
19
+ MDBOOK_VER : v0.4.3
18
20
run : |
19
21
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
21
- echo "##[add-path] $(pwd)/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
23
+ echo "$(pwd)/bin" >> $GITHUB_PATH
22
24
- name : Report versions
23
25
run : |
24
26
rustup --version
You can’t perform that action at this time.
0 commit comments