mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 13:17:54 +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 {
|
||||
$(ghcup --version) -match "version v(?<version>\d+(\.\d+){2,})" | Out-Null
|
||||
$(ghcup --version) -match "version (?<version>\d+(\.\d+){2,})" | Out-Null
|
||||
return $Matches.version
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user