Skip to content

Commit 7e2ba5a

Browse files
committed
Don't use admin grant
1 parent 9b5ae69 commit 7e2ba5a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/windows.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ jobs:
7373

7474
- name: Install libraries with scoop
7575
run: |
76-
iex "& {$(irm get.scoop.sh)} -RunAsAdmin"
76+
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
77+
iwr -useb get.scoop.sh | iex
7778
Join-Path (Resolve-Path ~).Path "scoop\shims" >> $Env:GITHUB_PATH
7879
scoop install vcpkg uutils-coreutils cmake@3.31.6
7980
shell: pwsh

0 commit comments

Comments
 (0)