From 7eae2069b696c732ef8de5381d4a1202ba0a84c9 Mon Sep 17 00:00:00 2001 From: Berkus Decker Date: Sun, 27 Mar 2022 21:33:35 +0300 Subject: [PATCH] =?UTF-8?q?fix(windows):=20=F0=9F=90=9B=20allow=20scoop=20?= =?UTF-8?q?installation=20on=20CI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3fb083e..0fa3fe2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -87,7 +87,8 @@ jobs: - name: Install Scoop (Windows) run: | - Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh') + iwr -useb get.scoop.sh -outfile 'install.ps1' + .\install.ps1 -RunAsAdmin echo "$HOME\scoop\shims" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append if: runner.os == 'Windows' shell: pwsh