mirror of
https://github.com/carp-lang/Carp.git
synced 2024-09-17 16:38:14 +03:00
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:
parent
d91a3dd6ff
commit
9dc9a9d55d
4
.github/workflows/windows.yml
vendored
4
.github/workflows/windows.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user