ci: drop --error-on=any from apt-get update (microsoft repo unreachable)
CI / Build + Clippy + Test (pull_request) Failing after 5m26s
CI / Security audit (RUSTSEC) (pull_request) Successful in 1m19s
CI / Build + Clippy + Test (pull_request) Failing after 5m26s
CI / Security audit (RUSTSEC) (pull_request) Successful in 1m19s
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).
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user