mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 21:28:12 +00:00
[ubuntu] Document GHC apt repository (#3268)
This commit is contained in:
@@ -251,7 +251,8 @@ function Build-PHPTable {
|
||||
function Get-GHCVersion {
|
||||
$(ghc --version) -match "version (?<version>\d+\.\d+\.\d+)" | Out-Null
|
||||
$ghcVersion = $Matches.version
|
||||
return "GHC $ghcVersion"
|
||||
$aptSourceRepo = Get-AptSourceRepository -PackageName "ghc"
|
||||
return "GHC $ghcVersion (apt source repository: $aptSourceRepo)"
|
||||
}
|
||||
|
||||
function Get-GHCupVersion {
|
||||
|
||||
Reference in New Issue
Block a user