From 915ea80050484747a1a1873661e7093598895111 Mon Sep 17 00:00:00 2001 From: m2 <69128853+m2Giles@users.noreply.github.com> Date: Sun, 29 Dec 2024 17:37:46 -0500 Subject: [PATCH] handle dnf5 for addrepo. remove Asus 40 --- .github/workflows/reusable-build.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/reusable-build.yml b/.github/workflows/reusable-build.yml index ab418e0..305cd5e 100644 --- a/.github/workflows/reusable-build.yml +++ b/.github/workflows/reusable-build.yml @@ -41,6 +41,8 @@ jobs: - 40 - 41 exclude: + - fedora_version: 40 + kernel_flavor: asus - fedora_version: 41 kernel_flavor: fsync - fedora_version: 41 @@ -146,8 +148,13 @@ jobs: build_tag=$(echo -E $latest | jq -r '.tag_name') ;; "surface") + if [[ "${{ matrix.fedora_version }}" < 41 ]]; then $dnf config-manager --add-repo=https://pkg.surfacelinux.com/fedora/linux-surface.repo + else + $dnf config-manager addrepo --repofile=https://pkg.surfacelinux.com/fedora/linux-surface.repo + fi linux=$($dnf repoquery --repoid linux-surface --whatprovides kernel-surface | sort -V | tail -n1 | sed 's/.*://') + ;; "main") base_image_name="base"