From 53d98c194860765e5f3efa5b7799ba49514eb377 Mon Sep 17 00:00:00 2001 From: Leilei Zhang Date: Sat, 15 Feb 2025 19:44:11 +0800 Subject: [PATCH] update path --- .../v2/templates/steps-download-artifacts-with-azure-cli.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pipelines/v2/templates/steps-download-artifacts-with-azure-cli.yml b/.pipelines/v2/templates/steps-download-artifacts-with-azure-cli.yml index 59451f467d..af2810a635 100644 --- a/.pipelines/v2/templates/steps-download-artifacts-with-azure-cli.yml +++ b/.pipelines/v2/templates/steps-download-artifacts-with-azure-cli.yml @@ -30,7 +30,7 @@ steps: - powershell: | Write-Host "Adding Azure CLI to PATH..." - $azCliPath = "$(Build.ArtifactStagingDirectory)\AzureCLI\azure-cli-2.69.0-x64\bin" + $azCliPath = "$(Build.ArtifactStagingDirectory)\AzureCLI\bin" [System.Environment]::SetEnvironmentVariable("Path", "$azCliPath;" + [System.Environment]::GetEnvironmentVariable("Path", [System.EnvironmentVariableTarget]::Process), [System.EnvironmentVariableTarget]::Process) Write-Host "Verifying Azure CLI installation..."