From a2f913ef6a5d44ff4fddb611b5fc2b9c648000b0 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Wed, 16 Oct 2024 09:52:36 -0700 Subject: [PATCH] CI: explicitly specify the OS version when necessary Commit 8ea120f6 added --break-system-packages which works in Ubuntu 24.04 but not 22.04, so explicitly specify that version in the runner instead of relying on ubuntu-latest to provide it. Some runners have regressed back to 22.04 for ubuntu-latest, resulting in build failures. --- .github/workflows/http3-linux.yml | 2 +- .github/workflows/linux.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/http3-linux.yml b/.github/workflows/http3-linux.yml index 164a13f92f..cc1ad887d9 100644 --- a/.github/workflows/http3-linux.yml +++ b/.github/workflows/http3-linux.yml @@ -254,7 +254,7 @@ jobs: needs: - setup - build-cache - runs-on: 'ubuntu-latest' + runs-on: 'ubuntu-24.04' timeout-minutes: 45 strategy: fail-fast: false diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 7357a67681..2d9f934174 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -61,7 +61,7 @@ env: jobs: linux: name: ${{ matrix.build.generate && 'CM' || 'AM' }} ${{ matrix.build.name }} - runs-on: 'ubuntu-latest' + runs-on: 'ubuntu-24.04' container: ${{ matrix.build.container }} timeout-minutes: 45 strategy: