Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DataEraserC committed Dec 22, 2024
1 parent 85b0ecb commit c919717
Show file tree
Hide file tree
Showing 9 changed files with 36 additions and 36 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/Lineage21_pstar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ jobs:
fi
fi
if [ ${{ env.ENABLE_KERNELSU }} = true && ${{ env.KERNELSU_LKM }} = true ]; then
if [ -f kernel_workspace/android-kernel/out/drivers/kernelsu/kernelsu.ko ]; then
if [ -f android-kernel/out/drivers/kernelsu/kernelsu.ko ]; then
echo "CHECK_KERNELSU_LKM_IS_OK=true" >> $GITHUB_ENV
else
echo "KernelSU LKM is empty"
Expand Down Expand Up @@ -687,7 +687,7 @@ jobs:
- name: Upload Kernel defconfig
uses: actions/upload-artifact@main
with:
name: kernel
name: defconfig
path: |
kernel_workspace/android-kernel/arch/${{ env.ARCH }}/configs/${{ env.KERNEL_CONFIG }}
Expand All @@ -696,13 +696,13 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: Drivers${{ env.LOCALVERSION }}${{ env.UPLOADNAME }}-${{ env.DEVICE }}-${{ env.BUILD_TIME }}
path: kernel_workspace/android-kernel/out/drivers/*
path: kernel_workspace/android-kernel/out/drivers/**/*.ko

- name: Upload KernelSU lkm
if: env.CHECK_KERNELSU_LKM_IS_OK == 'true'
uses: actions/upload-artifact@main
with:
name: kernel
name: KernelSU${{ env.LOCALVERSION }}${{ env.UPLOADNAME }}-${{ env.DEVICE }}-${{ env.BUILD_TIME }}
path: |
kernel_workspace/android-kernel/out/drivers/kernelsu/kernelsu.ko
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/Lineage21_pstar_docker_lxc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ jobs:
fi
fi
if [ ${{ env.ENABLE_KERNELSU }} = true && ${{ env.KERNELSU_LKM }} = true ]; then
if [ -f kernel_workspace/android-kernel/out/drivers/kernelsu/kernelsu.ko ]; then
if [ -f android-kernel/out/drivers/kernelsu/kernelsu.ko ]; then
echo "CHECK_KERNELSU_LKM_IS_OK=true" >> $GITHUB_ENV
else
echo "KernelSU LKM is empty"
Expand Down Expand Up @@ -687,7 +687,7 @@ jobs:
- name: Upload Kernel defconfig
uses: actions/upload-artifact@main
with:
name: kernel
name: defconfig
path: |
kernel_workspace/android-kernel/arch/${{ env.ARCH }}/configs/${{ env.KERNEL_CONFIG }}
Expand All @@ -696,13 +696,13 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: Drivers${{ env.LOCALVERSION }}${{ env.UPLOADNAME }}-${{ env.DEVICE }}-${{ env.BUILD_TIME }}
path: kernel_workspace/android-kernel/out/drivers/*
path: kernel_workspace/android-kernel/out/drivers/**/*.ko

- name: Upload KernelSU lkm
if: env.CHECK_KERNELSU_LKM_IS_OK == 'true'
uses: actions/upload-artifact@main
with:
name: kernel
name: KernelSU${{ env.LOCALVERSION }}${{ env.UPLOADNAME }}-${{ env.DEVICE }}-${{ env.BUILD_TIME }}
path: |
kernel_workspace/android-kernel/out/drivers/kernelsu/kernelsu.ko
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/Lineage21_pstar_docker_lxc_nethunter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ jobs:
fi
fi
if [ ${{ env.ENABLE_KERNELSU }} = true && ${{ env.KERNELSU_LKM }} = true ]; then
if [ -f kernel_workspace/android-kernel/out/drivers/kernelsu/kernelsu.ko ]; then
if [ -f android-kernel/out/drivers/kernelsu/kernelsu.ko ]; then
echo "CHECK_KERNELSU_LKM_IS_OK=true" >> $GITHUB_ENV
else
echo "KernelSU LKM is empty"
Expand Down Expand Up @@ -687,7 +687,7 @@ jobs:
- name: Upload Kernel defconfig
uses: actions/upload-artifact@main
with:
name: kernel
name: defconfig
path: |
kernel_workspace/android-kernel/arch/${{ env.ARCH }}/configs/${{ env.KERNEL_CONFIG }}
Expand All @@ -696,13 +696,13 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: Drivers${{ env.LOCALVERSION }}${{ env.UPLOADNAME }}-${{ env.DEVICE }}-${{ env.BUILD_TIME }}
path: kernel_workspace/android-kernel/out/drivers/*
path: kernel_workspace/android-kernel/out/drivers/**/*.ko

- name: Upload KernelSU lkm
if: env.CHECK_KERNELSU_LKM_IS_OK == 'true'
uses: actions/upload-artifact@main
with:
name: kernel
name: KernelSU${{ env.LOCALVERSION }}${{ env.UPLOADNAME }}-${{ env.DEVICE }}-${{ env.BUILD_TIME }}
path: |
kernel_workspace/android-kernel/out/drivers/kernelsu/kernelsu.ko
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/Lineage21_pstar_kernelsu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ jobs:
fi
fi
if [ ${{ env.ENABLE_KERNELSU }} = true && ${{ env.KERNELSU_LKM }} = true ]; then
if [ -f kernel_workspace/android-kernel/out/drivers/kernelsu/kernelsu.ko ]; then
if [ -f android-kernel/out/drivers/kernelsu/kernelsu.ko ]; then
echo "CHECK_KERNELSU_LKM_IS_OK=true" >> $GITHUB_ENV
else
echo "KernelSU LKM is empty"
Expand Down Expand Up @@ -687,7 +687,7 @@ jobs:
- name: Upload Kernel defconfig
uses: actions/upload-artifact@main
with:
name: kernel
name: defconfig
path: |
kernel_workspace/android-kernel/arch/${{ env.ARCH }}/configs/${{ env.KERNEL_CONFIG }}
Expand All @@ -696,13 +696,13 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: Drivers${{ env.LOCALVERSION }}${{ env.UPLOADNAME }}-${{ env.DEVICE }}-${{ env.BUILD_TIME }}
path: kernel_workspace/android-kernel/out/drivers/*
path: kernel_workspace/android-kernel/out/drivers/**/*.ko

- name: Upload KernelSU lkm
if: env.CHECK_KERNELSU_LKM_IS_OK == 'true'
uses: actions/upload-artifact@main
with:
name: kernel
name: KernelSU${{ env.LOCALVERSION }}${{ env.UPLOADNAME }}-${{ env.DEVICE }}-${{ env.BUILD_TIME }}
path: |
kernel_workspace/android-kernel/out/drivers/kernelsu/kernelsu.ko
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/Lineage21_pstar_kernelsu_docker_lxc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ jobs:
fi
fi
if [ ${{ env.ENABLE_KERNELSU }} = true && ${{ env.KERNELSU_LKM }} = true ]; then
if [ -f kernel_workspace/android-kernel/out/drivers/kernelsu/kernelsu.ko ]; then
if [ -f android-kernel/out/drivers/kernelsu/kernelsu.ko ]; then
echo "CHECK_KERNELSU_LKM_IS_OK=true" >> $GITHUB_ENV
else
echo "KernelSU LKM is empty"
Expand Down Expand Up @@ -687,7 +687,7 @@ jobs:
- name: Upload Kernel defconfig
uses: actions/upload-artifact@main
with:
name: kernel
name: defconfig
path: |
kernel_workspace/android-kernel/arch/${{ env.ARCH }}/configs/${{ env.KERNEL_CONFIG }}
Expand All @@ -696,13 +696,13 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: Drivers${{ env.LOCALVERSION }}${{ env.UPLOADNAME }}-${{ env.DEVICE }}-${{ env.BUILD_TIME }}
path: kernel_workspace/android-kernel/out/drivers/*
path: kernel_workspace/android-kernel/out/drivers/**/*.ko

- name: Upload KernelSU lkm
if: env.CHECK_KERNELSU_LKM_IS_OK == 'true'
uses: actions/upload-artifact@main
with:
name: kernel
name: KernelSU${{ env.LOCALVERSION }}${{ env.UPLOADNAME }}-${{ env.DEVICE }}-${{ env.BUILD_TIME }}
path: |
kernel_workspace/android-kernel/out/drivers/kernelsu/kernelsu.ko
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ jobs:
fi
fi
if [ ${{ env.ENABLE_KERNELSU }} = true && ${{ env.KERNELSU_LKM }} = true ]; then
if [ -f kernel_workspace/android-kernel/out/drivers/kernelsu/kernelsu.ko ]; then
if [ -f android-kernel/out/drivers/kernelsu/kernelsu.ko ]; then
echo "CHECK_KERNELSU_LKM_IS_OK=true" >> $GITHUB_ENV
else
echo "KernelSU LKM is empty"
Expand Down Expand Up @@ -687,7 +687,7 @@ jobs:
- name: Upload Kernel defconfig
uses: actions/upload-artifact@main
with:
name: kernel
name: defconfig
path: |
kernel_workspace/android-kernel/arch/${{ env.ARCH }}/configs/${{ env.KERNEL_CONFIG }}
Expand All @@ -696,13 +696,13 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: Drivers${{ env.LOCALVERSION }}${{ env.UPLOADNAME }}-${{ env.DEVICE }}-${{ env.BUILD_TIME }}
path: kernel_workspace/android-kernel/out/drivers/*
path: kernel_workspace/android-kernel/out/drivers/**/*.ko

- name: Upload KernelSU lkm
if: env.CHECK_KERNELSU_LKM_IS_OK == 'true'
uses: actions/upload-artifact@main
with:
name: kernel
name: KernelSU${{ env.LOCALVERSION }}${{ env.UPLOADNAME }}-${{ env.DEVICE }}-${{ env.BUILD_TIME }}
path: |
kernel_workspace/android-kernel/out/drivers/kernelsu/kernelsu.ko
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/Lineage21_pstar_kernelsu_nethunter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ jobs:
fi
fi
if [ ${{ env.ENABLE_KERNELSU }} = true && ${{ env.KERNELSU_LKM }} = true ]; then
if [ -f kernel_workspace/android-kernel/out/drivers/kernelsu/kernelsu.ko ]; then
if [ -f android-kernel/out/drivers/kernelsu/kernelsu.ko ]; then
echo "CHECK_KERNELSU_LKM_IS_OK=true" >> $GITHUB_ENV
else
echo "KernelSU LKM is empty"
Expand Down Expand Up @@ -687,7 +687,7 @@ jobs:
- name: Upload Kernel defconfig
uses: actions/upload-artifact@main
with:
name: kernel
name: defconfig
path: |
kernel_workspace/android-kernel/arch/${{ env.ARCH }}/configs/${{ env.KERNEL_CONFIG }}
Expand All @@ -696,13 +696,13 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: Drivers${{ env.LOCALVERSION }}${{ env.UPLOADNAME }}-${{ env.DEVICE }}-${{ env.BUILD_TIME }}
path: kernel_workspace/android-kernel/out/drivers/*
path: kernel_workspace/android-kernel/out/drivers/**/*.ko

- name: Upload KernelSU lkm
if: env.CHECK_KERNELSU_LKM_IS_OK == 'true'
uses: actions/upload-artifact@main
with:
name: kernel
name: KernelSU${{ env.LOCALVERSION }}${{ env.UPLOADNAME }}-${{ env.DEVICE }}-${{ env.BUILD_TIME }}
path: |
kernel_workspace/android-kernel/out/drivers/kernelsu/kernelsu.ko
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/Lineage21_pstar_nethunter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ jobs:
fi
fi
if [ ${{ env.ENABLE_KERNELSU }} = true && ${{ env.KERNELSU_LKM }} = true ]; then
if [ -f kernel_workspace/android-kernel/out/drivers/kernelsu/kernelsu.ko ]; then
if [ -f android-kernel/out/drivers/kernelsu/kernelsu.ko ]; then
echo "CHECK_KERNELSU_LKM_IS_OK=true" >> $GITHUB_ENV
else
echo "KernelSU LKM is empty"
Expand Down Expand Up @@ -687,7 +687,7 @@ jobs:
- name: Upload Kernel defconfig
uses: actions/upload-artifact@main
with:
name: kernel
name: defconfig
path: |
kernel_workspace/android-kernel/arch/${{ env.ARCH }}/configs/${{ env.KERNEL_CONFIG }}
Expand All @@ -696,13 +696,13 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: Drivers${{ env.LOCALVERSION }}${{ env.UPLOADNAME }}-${{ env.DEVICE }}-${{ env.BUILD_TIME }}
path: kernel_workspace/android-kernel/out/drivers/*
path: kernel_workspace/android-kernel/out/drivers/**/*.ko

- name: Upload KernelSU lkm
if: env.CHECK_KERNELSU_LKM_IS_OK == 'true'
uses: actions/upload-artifact@main
with:
name: kernel
name: KernelSU${{ env.LOCALVERSION }}${{ env.UPLOADNAME }}-${{ env.DEVICE }}-${{ env.BUILD_TIME }}
path: |
kernel_workspace/android-kernel/out/drivers/kernelsu/kernelsu.ko
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build-kernel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ jobs:
fi
fi
if [ ${{ env.ENABLE_KERNELSU }} = true && ${{ env.KERNELSU_LKM }} = true ]; then
if [ -f kernel_workspace/android-kernel/out/drivers/kernelsu/kernelsu.ko ]; then
if [ -f android-kernel/out/drivers/kernelsu/kernelsu.ko ]; then
echo "CHECK_KERNELSU_LKM_IS_OK=true" >> $GITHUB_ENV
else
echo "KernelSU LKM is empty"
Expand Down Expand Up @@ -687,7 +687,7 @@ jobs:
- name: Upload Kernel defconfig
uses: actions/upload-artifact@main
with:
name: kernel
name: defconfig
path: |
kernel_workspace/android-kernel/arch/${{ env.ARCH }}/configs/${{ env.KERNEL_CONFIG }}
Expand All @@ -696,13 +696,13 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: Drivers${{ env.LOCALVERSION }}${{ env.UPLOADNAME }}-${{ env.DEVICE }}-${{ env.BUILD_TIME }}
path: kernel_workspace/android-kernel/out/drivers/*
path: kernel_workspace/android-kernel/out/drivers/**/*.ko

- name: Upload KernelSU lkm
if: env.CHECK_KERNELSU_LKM_IS_OK == 'true'
uses: actions/upload-artifact@main
with:
name: kernel
name: KernelSU${{ env.LOCALVERSION }}${{ env.UPLOADNAME }}-${{ env.DEVICE }}-${{ env.BUILD_TIME }}
path: |
kernel_workspace/android-kernel/out/drivers/kernelsu/kernelsu.ko
Expand Down

0 comments on commit c919717

Please sign in to comment.