diff --git a/.github/workflows/linux-build.yml b/.github/workflows/linux-build.yml index 1e3d369ae..0ff316bd6 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 workflow status + make -C mrmShared/linux CC=${CC:=gcc} KERNELDIR="$PWD/kernel" || true + fi host: name: With VM host