File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 66 name : Test
77 runs-on : ubuntu-latest
88 steps :
9- - uses : actions/checkout@master
9+ - uses : actions/checkout@v2
1010 - name : Update rustup
1111 run : rustup self update
1212 - name : Install Rust
@@ -15,10 +15,12 @@ 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
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
2224 - name : Report versions
2325 run : |
2426 rustup --version
You can’t perform that action at this time.
0 commit comments