Skip to content

Commit

Permalink
CI: Don't use azure Ubuntu mirror.
Browse files Browse the repository at this point in the history
  • Loading branch information
fancycode committed Feb 6, 2023
1 parent 4701529 commit ba75082
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/ci-before-install-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,11 @@ if [ ! -z "$CMAKE" ]; then
"
fi

# Workaround issues where the "azure.archive.ubuntu.com" mirror is not available
# See https://github.com/actions/runner-images/issues/675
sudo sed -i 's/azure\.//' /etc/apt/sources.list
UPDATE_APT=1

if [ ! -z "$UPDATE_APT" ]; then
echo "Updating package lists ..."
sudo apt-get update -qq
Expand Down

0 comments on commit ba75082

Please sign in to comment.