diff --git a/.github/workflows/linux-build.yml b/.github/workflows/linux-build.yml index 1e3d369ae..1005f111e 100644 --- a/.github/workflows/linux-build.yml +++ b/.github/workflows/linux-build.yml @@ -59,7 +59,12 @@ jobs: make -C kernel CC=${CC:=gcc} modules_prepare - name: Build run: | - make -C mrmShared/linux CC=${CC:=gcc} KERNELDIR="$PWD/kernel" + if [[ "${KSER}" != "latest" ]]; then + make -C mrmShared/linux CC=${CC:=gcc} KERNELDIR="$PWD/kernel" + else + # Remove the latest from the error generation + make -C mrmShared/linux CC=${CC:=gcc} KERNELDIR="$PWD/kernel" || exit 1 + fi host: name: With VM host