Skip to content

Commit dbebdc9

Browse files
committed
chore: fix Windows CI
Update scoop installation.
1 parent 836430e commit dbebdc9

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ jobs:
1919
- name: Install clang for Windows
2020
if: runner.os == 'Windows'
2121
run: |
22-
Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh')
22+
iwr -useb get.scoop.sh -outfile 'install.ps1'
23+
.\install.ps1 -RunAsAdmin
2324
scoop install llvm --global
2425
2526
# Scoop modifies the PATH so we make the modified PATH global.
@@ -61,7 +62,8 @@ jobs:
6162
- name: Install clang for Windows
6263
if: runner.os == 'Windows'
6364
run: |
64-
Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh')
65+
iwr -useb get.scoop.sh -outfile 'install.ps1'
66+
.\install.ps1 -RunAsAdmin
6567
scoop install llvm --global
6668
6769
# Scoop modifies the PATH so we make the modified PATH global.

0 commit comments

Comments
 (0)