mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-14 13:56:47 +00:00
Use ghcup to install GHC on linux and remove docs and profiling libs (#4043)
This commit is contained in:
@@ -275,8 +275,7 @@ function Build-PHPSection {
|
||||
function Get-GHCVersion {
|
||||
$(ghc --version) -match "version (?<version>\d+\.\d+\.\d+)" | Out-Null
|
||||
$ghcVersion = $Matches.version
|
||||
$aptSourceRepo = Get-AptSourceRepository -PackageName "ghc"
|
||||
return "GHC $ghcVersion (apt source repository: $aptSourceRepo)"
|
||||
return "GHC $ghcVersion"
|
||||
}
|
||||
|
||||
function Get-GHCupVersion {
|
||||
|
||||
Reference in New Issue
Block a user