Skip to content

Commit 5af1ba0

Browse files
committed
Replace deprecated add-path with safe way
1 parent c69ca68 commit 5af1ba0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
run: |
2121
mkdir bin
2222
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 "##[add-path]$(pwd)/bin"
23+
echo "$(pwd)/bin" >> $GITHUB_PATH
2424
- name: Report versions
2525
run: |
2626
rustup --version

0 commit comments

Comments
 (0)