Merge pull request #240 from JohnTitor/gha

Tweak GHA config
pull/241/head
Eric Huss 4 years ago committed by GitHub
commit 69333eddb1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -6,7 +6,7 @@ jobs:
name: Test name: Test
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@master - uses: actions/checkout@v2
- name: Update rustup - name: Update rustup
run: rustup self update run: rustup self update
- name: Install Rust - name: Install Rust
@ -15,10 +15,12 @@ jobs:
rustup toolchain install nightly -c rust-docs rustup toolchain install nightly -c rust-docs
rustup default nightly rustup default nightly
- name: Install mdbook - name: Install mdbook
env:
MDBOOK_VER: v0.4.3
run: | run: |
mkdir bin 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" echo "$(pwd)/bin" >> $GITHUB_PATH
- name: Report versions - name: Report versions
run: | run: |
rustup --version rustup --version

Loading…
Cancel
Save