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