mirror of
https://github.com/actions/runner-images.git
synced 2025-12-20 06:35:47 +00:00
Temporary downgrade Azure-Cli to 2.5.1 (#959)
* hardcode 2.5.1 for win and linux * change instllation to downgrade for ubuntu
This commit is contained in:
@@ -3,7 +3,8 @@
|
||||
## Desc: Install Azure CLI
|
||||
################################################################################
|
||||
|
||||
Choco-Install -PackageName azure-cli
|
||||
# Temporary hardcode 2.5.1 installation until version 2.7.0 with the fix for the issue is not released https://github.com/actions/virtual-environments/issues/948
|
||||
Choco-Install -PackageName azure-cli -ArgumentList "--version=2.5.1"
|
||||
|
||||
$AzureCliExtensionPath = Join-Path $Env:CommonProgramFiles 'AzureCliExtensionDirectory'
|
||||
New-Item -ItemType "directory" -Path $AzureCliExtensionPath
|
||||
|
||||
Reference in New Issue
Block a user