mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 22:26:56 +00:00
Merge branch 'main' into v-sedoli/fix-apt
This commit is contained in:
@@ -8,12 +8,8 @@
|
||||
source $HELPER_SCRIPTS/os.sh
|
||||
|
||||
# List of versions
|
||||
if isUbuntu20 ; then
|
||||
versions=$(pwsh -Command '(Find-Module -Name Az).Version')
|
||||
else
|
||||
toolset="$INSTALLER_SCRIPT_FOLDER/toolset.json"
|
||||
versions=$(jq -r '.azureModules[] | select(.name | contains("az")) | .versions[]' $toolset)
|
||||
fi
|
||||
toolset="$INSTALLER_SCRIPT_FOLDER/toolset.json"
|
||||
versions=$(jq -r '.azureModules[] | select(.name | contains("az")) | .versions[]' $toolset)
|
||||
|
||||
# Try to install and update PowerShellGet before the actual installation
|
||||
pwsh -Command "Install-Module -Name PowerShellGet -Force"
|
||||
|
||||
Reference in New Issue
Block a user