mirror of
https://github.com/actions/runner-images.git
synced 2025-12-16 14:47:08 +00:00
[Ubuntu] fix ghcup version in software report (#6919)
This commit is contained in:
@@ -241,7 +241,7 @@ function Get-GHCVersion {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function Get-GHCupVersion {
|
function Get-GHCupVersion {
|
||||||
$(ghcup --version) -match "version v(?<version>\d+(\.\d+){2,})" | Out-Null
|
$(ghcup --version) -match "version (?<version>\d+(\.\d+){2,})" | Out-Null
|
||||||
return $Matches.version
|
return $Matches.version
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user