mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-24 10:28:10 +08:00
[macOS] Fix GHCup version output (#5455)
* [macOS] Fix GHCup version output * Remove 'v' in GHCup version * Revert GHCup version
This commit is contained in:
@@ -448,7 +448,7 @@ function Get-AliyunCLIVersion {
|
||||
}
|
||||
|
||||
function Get-GHCupVersion {
|
||||
$ghcUpVersion = Run-Command "ghcup --version" | Take-Part -Part 5
|
||||
$ghcUpVersion = (Run-Command "ghcup --version" | Take-Part -Part 5).Replace('v','')
|
||||
return "GHCup $ghcUpVersion"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user