From 7d754b2865ba44fb476bec4fd9aadfce89eb0a7b Mon Sep 17 00:00:00 2001 From: Daniel Rainer Date: Thu, 5 Feb 2026 18:26:24 +0100 Subject: [PATCH] ci: update before `apt install` GitHub does not consistently provide images with up-to-date package lists, causing `apt install` failures. Work around this by updating the package list. https://github.com/actions/runner-images/issues/13636 https://github.com/actions/runner-images/issues/12599 Closes #12418 --- .github/workflows/test.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7483025be..e7e75a6b0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -55,6 +55,12 @@ jobs: include_sphinx: false - name: Install g++-multilib run: | + # GitHub does not consistently provide images with up-to-date package lists, causing + # `apt install` failures. + # Work around this by updating the package list. + # https://github.com/actions/runner-images/issues/13636 + # https://github.com/actions/runner-images/issues/12599 + sudo apt-get update sudo apt install g++-multilib - name: cmake env: