Skip to content

Commit

Permalink
Merge pull request rust-lang#240 from JohnTitor/gha
Browse files Browse the repository at this point in the history
Tweak GHA config
  • Loading branch information
ehuss authored Oct 17, 2020
2 parents 9addcf7 + e574ee0 commit 69333ed
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v2
- name: Update rustup
run: rustup self update
- name: Install Rust
Expand All @@ -15,10 +15,12 @@ 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
echo "##[add-path]$(pwd)/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 "$(pwd)/bin" >> $GITHUB_PATH
- name: Report versions
run: |
rustup --version
Expand Down

0 comments on commit 69333ed

Please sign in to comment.