Skip to content

Commit ba75082

Browse files
committed
CI: Don't use azure Ubuntu mirror.
1 parent 4701529 commit ba75082

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scripts/ci-before-install-linux.sh

+5
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,11 @@ if [ ! -z "$CMAKE" ]; then
8585
"
8686
fi
8787

88+
# Workaround issues where the "azure.archive.ubuntu.com" mirror is not available
89+
# See https://github.com/actions/runner-images/issues/675
90+
sudo sed -i 's/azure\.//' /etc/apt/sources.list
91+
UPDATE_APT=1
92+
8893
if [ ! -z "$UPDATE_APT" ]; then
8994
echo "Updating package lists ..."
9095
sudo apt-get update -qq

0 commit comments

Comments
 (0)