mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-15 06:19:21 +00:00
Add NuGet.exe on Windows Server 2016/2019 (#1049)
* Add NuGet.CommandLine * remove temporary path update
This commit is contained in:
committed by
GitHub
parent
4bc0c4348d
commit
ebadb5cea8
@@ -127,6 +127,10 @@ function Get-ComposerVersion {
|
||||
return "Composer $composerVersion"
|
||||
}
|
||||
|
||||
function Get-NugetVersion {
|
||||
(nuget help) -match "NuGet Version" -replace "Version: "
|
||||
}
|
||||
|
||||
function Get-AntVersion {
|
||||
($(ant -version) | Out-String) -match "version (?<version>\d+\.\d+\.\d+)" | Out-Null
|
||||
$antVersion = $Matches.Version
|
||||
|
||||
Reference in New Issue
Block a user