From 113637a79c9e85608c922a7bc9c47f4fcf26e12e Mon Sep 17 00:00:00 2001 From: ragebreaker <125530737+mlm-games@users.noreply.github.com> Date: Tue, 10 Sep 2024 15:30:54 +0530 Subject: [PATCH] Update test-build.yml --- .github/workflows/test-build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-build.yml b/.github/workflows/test-build.yml index eec32940..6f70d156 100644 --- a/.github/workflows/test-build.yml +++ b/.github/workflows/test-build.yml @@ -48,7 +48,7 @@ jobs: - name: Checkout kernel test source run: | REPO_NAME=$(basename ${{ github.event.inputs.repo_url }} .git) - git clone ${{ github.event.inputs.repo_url || 'https://github.com/mlm-games/android_kernel_lenovo_mt8765_P' }} -b ${{ inputs.branch }} --depth=1 + git clone ${{ github.event.inputs.repo_url || 'https://github.com/mlm-games/android_kernel_lenovo_mt8765_P' }} -b ${{ inputs.branch || 'stock' }} --depth=1 echo "REPO_NAME=$REPO_NAME" >> $GITHUB_ENV - name: Kernel build deps @@ -62,7 +62,7 @@ jobs: - name: Add ksu and build kernel using build_kernel.sh run: | - cd $REPO_NAME + cd ${{ env.REPO_NAME }} curl -LSs "https://raw.githubusercontent.com/mlm-games/KernelSU-Non-GKI/main/kernel/setup-subm.sh" | bash -s python3 KernelSU/scripts/integrate-no-kprobe.py ${{ github.event.inputs.defconfig || 'your_default_defconfig' }} ./build_kernel.sh