mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 14:17:22 +00:00
[Windows] Add azcopy utility (#1008)
* azcopy10 deployment for Windows has been added * small bugfixing * Header has been added to Install-AzCopy.ps1 * Header has been added to Validate-AzCopy.ps1 * Packer tempaltes have been modified
This commit is contained in:
@@ -141,6 +141,10 @@ function Get-AzureCLIVersion {
|
||||
return "Azure CLI $azureCLIVersion"
|
||||
}
|
||||
|
||||
function Get-AzCopyVersion {
|
||||
return ($(azcopy --version) -replace "version ")
|
||||
}
|
||||
|
||||
function Get-AzureDevopsExtVersion {
|
||||
$azureDevExtVersion = (az version | ConvertFrom-Json | Foreach{ $_."extensions" })."azure-devops"
|
||||
return "Azure DevOps CLI extension $azureDevExtVersion"
|
||||
|
||||
Reference in New Issue
Block a user