From 7e2ba5a91bcdc31e14502f797a6184e3f4d41747 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 17 Apr 2025 07:19:07 +0900 Subject: [PATCH] Don't use admin grant --- .github/workflows/windows.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 19be0d92c6..09f33fa66f 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -73,7 +73,8 @@ jobs: - name: Install libraries with scoop run: | - iex "& {$(irm get.scoop.sh)} -RunAsAdmin" + Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser + iwr -useb get.scoop.sh | iex Join-Path (Resolve-Path ~).Path "scoop\shims" >> $Env:GITHUB_PATH scoop install vcpkg uutils-coreutils cmake@3.31.6 shell: pwsh