Skip to content

Commit 8f7d1d5

Browse files
Backport PR #37812: CI: The set-env and add-path commands are deprecated and will be disabled on November 16th. (#37814)
Co-authored-by: Simon Hawkins <[email protected]>
1 parent 18e7b41 commit 8f7d1d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
steps:
1919

2020
- name: Setting conda path
21-
run: echo "::add-path::${HOME}/miniconda3/bin"
21+
run: echo "${HOME}/miniconda3/bin" >> $GITHUB_PATH
2222

2323
- name: Checkout
2424
uses: actions/checkout@v1
@@ -104,7 +104,7 @@ jobs:
104104
steps:
105105

106106
- name: Setting conda path
107-
run: echo "::set-env name=PATH::${HOME}/miniconda3/bin:${PATH}"
107+
run: echo "${HOME}/miniconda3/bin" >> $GITHUB_PATH
108108

109109
- name: Checkout
110110
uses: actions/checkout@v1

0 commit comments

Comments
 (0)