From ebff43d9d642ef87313e656ddb2d2fa7a30035b9 Mon Sep 17 00:00:00 2001 From: dailz Date: Tue, 14 Jul 2026 20:20:42 +0800 Subject: [PATCH] ci: drop --error-on=any from apt-get update (microsoft repo unreachable) packages.microsoft.com fails through proxy after 5 retries. --error-on=any causes the whole update to fail. Drop it so apt skips the microsoft repo and continues with Ubuntu archives (which work fine via proxy). --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b7974c9..687744f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,7 +47,7 @@ jobs: echo 'Acquire::http::Proxy "http://172.17.0.1:7897";' | sudo tee /etc/apt/apt.conf.d/99proxy echo 'Acquire::https::Proxy "http://172.17.0.1:7897";' | sudo tee -a /etc/apt/apt.conf.d/99proxy APT_OPTS=(-o Acquire::Retries=5 -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30) - sudo apt-get "${APT_OPTS[@]}" update --error-on=any + sudo apt-get "${APT_OPTS[@]}" update # NOTE: do NOT use --no-install-recommends for libclang-dev — on # Debian Bookworm (the node:20-bookworm image used by act_runner # under ubuntu-latest) the recommended toolchain bits are needed