Replace deprecated `add-path` with safe way

pull/240/head
Yuki Okushi 4 years ago
parent c69ca68573
commit 5af1ba0fd2

@ -20,7 +20,7 @@ jobs:
run: |
mkdir 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
run: |
rustup --version

Loading…
Cancel
Save