Skip to content

Commit 041850b

Browse files
committed
Auto merge of #8760 - ehuss:github-add-path, r=Eh2406
Update deprecated GitHub add-path in workflows. The old method of using `::` commands is being deprecated, see https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/.
2 parents 9d1a486 + d1e4481 commit 041850b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/contrib.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
run: |
1616
mkdir mdbook
1717
curl -Lf https://github.com/rust-lang/mdBook/releases/download/v0.4.3/mdbook-v0.4.3-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=./mdbook
18-
echo ::add-path::`pwd`/mdbook
18+
echo `pwd`/mdbook >> $GITHUB_PATH
1919
- name: Deploy docs
2020
run: |
2121
cd src/doc/contrib

.github/workflows/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ jobs:
9797
- run: |
9898
mkdir mdbook
9999
curl -Lf 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=./mdbook
100-
echo ::add-path::`pwd`/mdbook
100+
echo `pwd`/mdbook >> $GITHUB_PATH
101101
- run: cargo doc --no-deps
102102
- run: cd src/doc && mdbook build --dest-dir ../../target/doc
103103
- run: |

0 commit comments

Comments
 (0)