Skip to content

Commit 61b36b1

Browse files
authored
Merge pull request #510 from NVIDIA/kernel-flavour-substring-extract
2 parents f6a13ac + 7b38908 commit 61b36b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/precompiled.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ jobs:
432432
if: ${{ ! (matrix.driver_branch == 535 && contains(matrix.kernel_version, 'ubuntu24.04')) }}
433433
run: |
434434
LTS_KERNEL=$(echo "${{ matrix.kernel_version }}" | sed -E 's/^([0-9]+\.[0-9]+)\..*/\1/')
435-
KERNEL_FLAVOR=$(echo "${{ matrix.kernel_version }}" | sed -E 's/^.*-[0-9]+-([a-zA-Z]+)-.*/\1/')
435+
KERNEL_FLAVOR=$(echo "${{ matrix.kernel_version }}" | sed -E 's/^[0-9]+\.[0-9]+\.[0-9]+-[0-9]+-(.*)-ubuntu[0-9]+\.[0-9]+$/\1/')
436436
DIST=$(echo "${{ matrix.kernel_version }}" | sed -E 's/^.*-(ubuntu[0-9]+\.[0-9]+)$/\1/')
437437
if [[ "${DIST}" == "ubuntu22.04" ]]; then
438438
BASE_TARGET="jammy"

0 commit comments

Comments
 (0)