From 0f220f4044d87d29afe962195b26ff7c35a1cb68 Mon Sep 17 00:00:00 2001 From: weishu Date: Fri, 15 Mar 2024 20:54:32 +0800 Subject: [PATCH] ci: Fix release and LKM upload --- .github/workflows/gki-kernel.yml | 4 ++-- .github/workflows/release.yml | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/gki-kernel.yml b/.github/workflows/gki-kernel.yml index 1b4ea0d4648f..c262feab3aae 100644 --- a/.github/workflows/gki-kernel.yml +++ b/.github/workflows/gki-kernel.yml @@ -218,7 +218,7 @@ jobs: mkdir output if [ "${{ inputs.build_lkm}}" = "true" ]; then llvm-strip-15 $OUTDIR/kernelsu.ko - cp $OUTDIR/kernelsu.ko ./output/ + mv $OUTDIR/kernelsu.ko ./output/${{ inputs.version }}_kernelsu.ko else cp $OUTDIR/Image ./output/ cp $OUTDIR/Image.lz4 ./output/ @@ -246,4 +246,4 @@ jobs: if: ${{ inputs.build_lkm == true }} with: name: ${{ inputs.version }}_kernelsu.ko - path: ./output/kernelsu.ko \ No newline at end of file + path: ./output/*_kernelsu.ko \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a4c156f325cb..a0b8bb2bd54f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -71,6 +71,7 @@ jobs: with: files: | manager/*.apk + *-lkm/*_kernelsu.ko AnyKernel3-*.zip boot-images-*/Image-*/*.img.gz kernel-WSA*.zip