mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 22:26:56 +00:00
Install ghcup on windows (#4044)
This commit is contained in:
@@ -33,3 +33,7 @@ Write-Host 'Installing cabal...'
|
||||
Choco-Install -PackageName cabal
|
||||
|
||||
Invoke-PesterTests -TestFile 'Haskell'
|
||||
|
||||
# install minimal ghcup, utilizing pre-installed msys2 at C:\msys64
|
||||
$bootstrapHaskell = Invoke-WebRequest https://www.haskell.org/ghcup/sh/bootstrap-haskell.ps1 -UseBasicParsing
|
||||
Invoke-Command -ScriptBlock ([ScriptBlock]::Create($bootstrapHaskell)) -ArgumentList $false, $true, $true, $false, $false, $false, $false, C:\, "", C:\msys64, C:\cabal
|
||||
|
||||
Reference in New Issue
Block a user