Skip to content

Commit dbe309e

Browse files
authored
Merge pull request #2477 from peaceiris/patch-1
Use GITHUB_PATH instead of add-path
2 parents 451a1e3 + 2a81531 commit dbe309e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
run: |
1919
mkdir bin
2020
curl -sSL https://github.com/rust-lang/mdBook/releases/download/v0.3.7/mdbook-v0.3.7-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=bin
21-
echo "##[add-path]$(pwd)/bin"
21+
echo "$(pwd)/bin" >> ${GITHUB_PATH}
2222
- name: Report versions
2323
run: |
2424
rustup --version
@@ -42,7 +42,7 @@ jobs:
4242
run: |
4343
mkdir bin
4444
curl -sSL https://github.com/rust-lang/mdBook/releases/download/v0.3.7/mdbook-v0.3.7-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=bin
45-
echo "##[add-path]$(pwd)/bin"
45+
echo "$(pwd)/bin" >> ${GITHUB_PATH}
4646
- name: Report versions
4747
run: |
4848
rustup --version

0 commit comments

Comments
 (0)