mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-14 22:09:26 +00:00
[ubuntu] Rework Mono installation to avoid using apt repos (#3289)
* Rework Mono installation to avoid using apt repos on Ubuntu images * Use rest of line to read full AptSourceRepository
This commit is contained in:
@@ -58,7 +58,8 @@ function Get-ErlangVersion {
|
||||
|
||||
function Get-MonoVersion {
|
||||
$monoVersion = mono --version | Out-String | Take-OutputPart -Part 4
|
||||
return "Mono $monoVersion"
|
||||
$aptSourceRepo = Get-AptSourceRepository -PackageName "mono"
|
||||
return "Mono $monoVersion (apt source repository: $aptSourceRepo)"
|
||||
}
|
||||
|
||||
function Get-MsbuildVersion {
|
||||
|
||||
Reference in New Issue
Block a user