fix(ci): switch to ubuntu-22.04 (#2836) (#2922)

This commit is contained in:
madomado
2025-01-12 21:48:47 +08:00
committed by GitHub
parent b79fb62f8f
commit 6f15dfa7f5
11 changed files with 179 additions and 12 deletions
+2 -2
View File
@@ -18,7 +18,7 @@ on:
jobs:
manifest:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
outputs:
build_matrix: ${{ steps.generate_build_matrix.outputs.build_matrix }}
@@ -42,7 +42,7 @@ jobs:
pkg: ${{ fromJson(needs.manifest.outputs.build_matrix) }}
version: ["41"]
fail-fast: false
runs-on: ${{ matrix.pkg.arch == 'aarch64' && 'ARM64' || matrix.pkg.labels['large'] && 'x86-64-lg' || 'ubuntu-latest' }}
runs-on: ${{ matrix.pkg.arch == 'aarch64' && 'ARM64' || matrix.pkg.labels['large'] && 'x86-64-lg' || 'ubuntu-22.04' }}
container:
image: ghcr.io/terrapkg/builder:f${{ matrix.version }}
options: --cap-add=SYS_ADMIN --privileged