Skip to content

Commit 3139273

Browse files
committed
ci: Fix Scoop installation
1 parent 4b9a0cc commit 3139273

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/script/setup.ps1

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
1-
iex (New-Object net.webclient).downloadstring('https://get.scoop.sh')
1+
# iex (New-Object net.webclient).downloadstring('https://get.scoop.sh')
2+
3+
# XXX: https://github.com/ScoopInstaller/Scoop/issues/4783#issuecomment-1061446902
4+
# iwr -useb https://raw.githubusercontent.com/ScoopInstaller/Install/7bcdf996f0f4597ef69f4c48c219024a9512113c/install.ps1 | iex
5+
6+
# XXX: https://github.com/ScoopInstaller/Install#for-admin
7+
iwr -useb https://get.scoop.sh -outfile 'install.ps1'
8+
.\install.ps1 -RunAsAdmin
9+
210
Join-Path (Resolve-Path ~).Path "scoop\shims" >> $env:GITHUB_PATH
311
scoop bucket add extras
412
scoop bucket add nonportable

0 commit comments

Comments
 (0)