Removes usage of add-path as it is being deprecated

add-path in Github Actions is considered a "moderate security vulnerability", see:
https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
This commit is contained in:
Tim Dévé 2020-11-07 18:16:04 +00:00
parent d91a3dd6ff
commit 9dc9a9d55d

View File

@ -17,8 +17,8 @@ jobs:
- name: Install Scoop
run: |
iwr -useb get.scoop.sh | iex
echo "::add-path::~\scoop\shims"
echo "::add-path::C:\ProgramData\scoop\shims"
echo "~\scoop\shims" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
echo "C:\ProgramData\scoop\shims" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
- name: Install Stack
run: scoop install stack