mirror of
https://github.com/actions/runner-images.git
synced 2025-12-17 23:28:57 +00:00
Move azpowershell versions to toolset
This commit is contained in:
@@ -12,7 +12,8 @@ source $HELPER_SCRIPTS/os.sh
|
||||
if isUbuntu20 ; then
|
||||
versions=$(pwsh -Command '(Find-Module -Name Az).Version')
|
||||
else
|
||||
versions=(1.0.0 1.6.0 2.3.2 2.6.0 2.8.0 3.1.0 3.5.0 3.8.0 4.3.0)
|
||||
toolsetJson="$INSTALLER_SCRIPT_FOLDER/toolset.json"
|
||||
versions=$(cat $toolsetJson | jq -r '.azureModules[] | select(.name | contains("Az")) | .versions[]')
|
||||
fi
|
||||
|
||||
# Install Azure CLI (instructions taken from https://docs.microsoft.com/en-us/cli/azure/install-azure-cli)
|
||||
|
||||
Reference in New Issue
Block a user