]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
CI: explicitly specify the OS version when necessary
authorDan Fandrich <dan@coneharvesters.com>
Wed, 16 Oct 2024 16:52:36 +0000 (09:52 -0700)
committerDan Fandrich <dan@coneharvesters.com>
Wed, 16 Oct 2024 16:56:14 +0000 (09:56 -0700)
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
.github/workflows/linux.yml

index 164a13f92f49ba5ee2805f8c26be0f4bb26363d6..cc1ad887d944279bd188e4c897d2ebb6e7d46342 100644 (file)
@@ -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
index 7357a67681b3b4993194ce50ad9e99bc4525b90f..2d9f934174cbe5da14593b7f08d53aed0d1e7cb1 100644 (file)
@@ -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: