Skip to content
This repository was archived by the owner on Mar 22, 2023. It is now read-only.

Commit 83fa6fa

Browse files
CI: use special environment var in GHA for Windows' PATH
The old 'addPath' is depreciated now. For more details see: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
1 parent db5da1b commit 83fa6fa

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/gha.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,7 @@ jobs:
6969
CONFIG: [Debug, Release]
7070
steps:
7171
- name: Update PATH
72-
run: |
73-
echo "::add-path::$Env:MSBUILD"
72+
run: echo "${env:MSBUILD}" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
7473

7574
- name: Cache vcpkg packages
7675
uses: actions/cache@v1

0 commit comments

Comments
 (0)