summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2025-04-17 07:19:07 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2025-04-17 08:08:37 +0900
commit7e2ba5a91bcdc31e14502f797a6184e3f4d41747 (patch)
treea3afb549702cac719eadf63f02fd3aa51b7ed1ec
parent9b5ae69aac7246199c7cb8e32f7f0490fa519751 (diff)
Don't use admin grant
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/13121
-rw-r--r--.github/workflows/windows.yml3
1 files changed, 2 insertions, 1 deletions
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