@@ -3,10 +3,10 @@ name: Build KernelSU-Next for OnePlus-7-Serie
33on :
44 push :
55 branches :
6- - sm8150
6+ - veux
77 pull_request :
88 branches :
9- - sm8150
9+ - veux
1010 workflow_dispatch :
1111
1212jobs :
@@ -20,29 +20,22 @@ jobs:
2020
2121 - name : ⚡ Checkout kernel's sourcecode and clone submodules
2222 run : |
23- git clone --depth=1 https://github.com/Evolution-X-Devices/kernel_oneplus_sm8150 kernel_oneplus_sm8150 -b vic
23+ git clone --depth=1 https://github.com/Evolution-X-Devices/kernel_xiaomi_veux kernel_xiaomi_veux -b vic
2424
2525 - name : 📅 Export date of build
2626 run : |
2727 echo "DATE=$(date +%d%m%Y)" >> $GITHUB_ENV
2828
2929 - name : 🔄 Update KernelSU-Next
3030 run : |
31- cd kernel_oneplus_sm8150
31+ cd kernel_xiaomi_veux
3232 rm -rf KernelSU-Next
33- git clone https://github.com/KernelSU-Next/KernelSU-Next -b v1.0.6
34-
35-
36- - name : 📥 Clone AnyKernel3
37- run : |
38- cd kernel_oneplus_sm8150
39- git clone -b oneplus-7 --depth=1 https://github.com/Oneloutre/AnyKernel3.git anykernel
40- rm -rf anykernel/.git
33+ git clone https://github.com/KernelSU-Next/KernelSU-Next -b v1.0.7
4134
4235 - name : 🔍 Device's codename and kernel's version
4336 run : |
44- cd kernel_oneplus_sm8150
45- DEVICE_CODENAME=OnePlus-7-Serie
37+ cd kernel_xiaomi_veux
38+ DEVICE_CODENAME=Veux
4639 KERNEL_VERSION=$(make kernelversion)
4740
4841 echo "Device Codename: $DEVICE_CODENAME"
@@ -58,12 +51,12 @@ jobs:
5851
5952 - name : 🛠️ Build the kramel
6053 run : |
61- ./build.sh OnePlus-7-Serie
54+ ./build.sh Veux
6255
6356 - name : 🚀 Copy the compiled kernel to AnyKernel3 then create the zip
6457 run : |
65- cd kernel_oneplus_sm8150
66- ZIP_NAME="Kernel-Caelum -${DEVICE_CODENAME}-${KERNEL_VERSION}-$(date +%d%m%Y).zip"
58+ cd kernel_xiaomi_veux
59+ ZIP_NAME="Kernel-Paimon -${DEVICE_CODENAME}-${KERNEL_VERSION}-$(date +%d%m%Y).zip"
6760
6861 cp out/arch/arm64/boot/Image-dtb anykernel/
6962
7568 - name : 🤌 Copy zip file to get 2 different zip files
7669 run : |
7770
78- ZIP_ALTERNATIVE="KernelSU-Next-Caelum -${DEVICE_CODENAME}-latest.zip"
71+ ZIP_ALTERNATIVE="KernelSU-Next-Paimon -${DEVICE_CODENAME}-latest.zip"
7972 cp ${ZIP_NAME} $ZIP_ALTERNATIVE
8073
8174 echo "Copied ${ZIP_NAME} as $ZIP_ALTERNATIVE"
9386 uses : softprops/action-gh-release@v2
9487 with :
9588 files : ${{ env.ZIP_NAME }}
96- tag_name : Kernel-Caelum -${{ env.DEVICE_CODENAME }}-${{ env.KERNEL_VERSION }}-${{ env.DATE }}
89+ tag_name : Kernel-Paimonk -${{ env.DEVICE_CODENAME }}-${{ env.KERNEL_VERSION }}-${{ env.DATE }}
9790 draft : false
9891 prerelease : false
9992
@@ -107,9 +100,9 @@ jobs:
107100
108101 - name : 🚀 Notify people on Discord
109102 env :
110- DEVICE_CODENAME : OnePlus-7-Serie
111- KERNEL_VERSION : 4.14.355
103+ DEVICE_CODENAME : Veux
104+ KERNEL_VERSION : 5.4
112105 WEBHOOK : ${{ secrets.WEBHOOK }}
113- NAME : Kernel-Caelum-OnePlus-7-Serie-4.14.355 .zip
106+ NAME : Kernel-Paimon-Veux-5.4 .zip
114107 run : |
115108 python3 .github/webhook.py
0 commit comments