From 2381e2e20f9edc7ae2dbe587adff98ba73035135 Mon Sep 17 00:00:00 2001
From: gluax <16431709+gluax@users.noreply.github.com>
Date: Mon, 14 Mar 2022 08:55:11 -0700
Subject: [PATCH] scoop update fix

---
 .github/workflows/ci.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 310558c013..cab6d0ce93 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -57,7 +57,8 @@ jobs:
       - name: Install sccache Windows
         if: matrix.os == 'windows-latest'
         run: |
-          iwr -useb get.scoop.sh | iex
+          iwr -useb get.scoop.sh -outfile 'install.ps1'
+          .\install.ps1 -RunAsAdmin [-OtherParameters ...]
           Set-ExecutionPolicy RemoteSigned -scope CurrentUser
           scoop install sccache
           echo "C:\Users\runneradmin\scoop\shims" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append