Merge branch 'main' of https://github.com/actions/virtual-environments into v-malob/xcode

This commit is contained in:
Maxim Lobanov
2020-11-03 16:33:54 +03:00
24 changed files with 888 additions and 48 deletions

View File

@@ -13,7 +13,7 @@ echo "Version of Microsoft Edge: ${EDGE_VERSION}"
echo "Installing Microsoft Edge WebDriver..."
EDGE_DRIVER_VERSION_URL="https://msedgedriver.azureedge.net/LATEST_RELEASE_${EDGE_VERSION_MAJOR}"
EDGE_DRIVER_VERSION_URL="https://msedgedriver.azureedge.net/LATEST_RELEASE_${EDGE_VERSION_MAJOR}_MACOS"
EDGE_DRIVER_LATEST_VERSION=$(curl -s "$EDGE_DRIVER_VERSION_URL" | iconv -f utf-16 -t utf-8 | tr -d '\r')
EDGE_DRIVER_URL="https://msedgedriver.azureedge.net/${EDGE_DRIVER_LATEST_VERSION}/edgedriver_mac64.zip"

View File

@@ -16,4 +16,4 @@ for package in $pipx_packages; do
echo "Install $package into default python"
pipx install $package
fi
done
done

View File

@@ -33,4 +33,7 @@ sudo pwsh -command "& {Import-Module Az; Enable-AzureRmAlias -Scope LocalMachine
sudo ln -s /usr/local/bin/pwsh /usr/local/bin/powershell
# fix ~/.azure directory permissions
sudo chown -R ${USER}: $HOME/.azure
sudo chown -R ${USER}: $HOME/.azure
# fix permissions for Az.Account version 2.*
sudo chown -R ${USER}: $HOME/.local/share/.IdentityService