mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 22:05:17 +00:00
fix vcpkg output (#2319)
This commit is contained in:
committed by
GitHub
parent
7403f33180
commit
6245d40db7
@@ -138,7 +138,7 @@ function Get-VcpkgVersion {
|
||||
$result.Output -match "version (?<version>\d+\.\d+\.\d+)" | Out-Null
|
||||
$vcpkgVersion = $Matches.version
|
||||
$commitId = git -C "/usr/local/share/vcpkg" rev-parse --short HEAD
|
||||
return "Vcpkg $vcpkgVersion (build from master <$commitId>)"
|
||||
return "Vcpkg $vcpkgVersion (build from master \<$commitId>)"
|
||||
}
|
||||
|
||||
function Get-AntVersion {
|
||||
|
||||
Reference in New Issue
Block a user