From 4b56ac7752e2556c1033d7089394054bf07560bf Mon Sep 17 00:00:00 2001 From: luigimak Date: Sun, 5 Oct 2025 15:49:39 +0200 Subject: [PATCH] Update build-kernel-release.yml --- .github/workflows/build-kernel-release.yml | 44 ++++++++++------------ 1 file changed, 20 insertions(+), 24 deletions(-) diff --git a/.github/workflows/build-kernel-release.yml b/.github/workflows/build-kernel-release.yml index 6b46e8c5..3b45dc9b 100644 --- a/.github/workflows/build-kernel-release.yml +++ b/.github/workflows/build-kernel-release.yml @@ -13,12 +13,9 @@ on: type: boolean default: false ksun_branch: - description: "Choose KernelSU Next Branch" + description: 'Enter KernelSU Next Branch or commit hash (blank for stable tag)' required: true - type: choice - options: - - stable - - next + type: string default: next optimize_level: description: "Compiler optimization level" @@ -65,7 +62,7 @@ jobs: branch: oneplus/sm8550 manifest: oneplus_11_v.xml android_version: android13 - kernel_version: "5.15" + kernel_version: '5.15' runs-on: ubuntu-latest steps: - name: Select Appropriate SusFS Branch @@ -125,9 +122,9 @@ jobs: REPO_OWNER: ${{ github.repository_owner }} REPO_NAME: ${{ github.event.repository.name }} GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - RELEASE_NAME: "*TEST BUILD* OnePlus Kernels With KernelSU Next & SUSFS v1.5.9 *TEST BUILD*" + RELEASE_NAME: '*TEST BUILD* OnePlus Kernels With KernelSU Next & SUSFS v1.5.11 *TEST BUILD*' RELEASE_NOTES: | - This release contains KernelSU Next and SUSFS v1.5.9 + This release contains KernelSU Next and SUSFS v1.5.11 Module: -> https://github.com/sidex15/ksu_module_susfs @@ -136,17 +133,16 @@ jobs: -> https://github.com/KernelSU-Next/KernelSU-Next Features: - [+] KernelSU-Next - [+] SUSFS v1.5.9 + [+] KernelSU-Next / WildKSU Manager Support + [+] SUSFS v1.5.11 [+] Wireguard Support - [+] Maphide LineageOS Detections - [+] Futile Maphide for jit-zygote-cache Detections [+] Magic Mount Support [+] Ptrace message leak fix for kernels < 5.16 [+] Manual Hooks [scope_min_manual_hooks_v1.4] [+] CONFIG_TMPFS_XATTR Support [Mountify Support] [+] BBR v1 Support. [+] HMBIRD scx support for OnePlus 13 & OnePlus Ace 5 Pro. + [+] Baseband Guard Support (BBG). steps: - name: Checkout code @@ -154,18 +150,18 @@ jobs: - name: Generate and Create New Tag run: | - BASE_TAG="v1.5.9-r0" - LATEST_TAG=$(gh api repos/$REPO_OWNER/$REPO_NAME/tags --jq '.[0].name') - if [ -z "$LATEST_TAG" ]; then - LATEST_TAG="$BASE_TAG" - else - LATEST_TAG=$(printf "%s\n%s\n" "$LATEST_TAG" "$BASE_TAG" | sort -rV | head -n1) - fi - NEW_TAG=$(echo "$LATEST_TAG" | awk -F'-r' '{suffix=$2; if (!suffix) suffix=0; suffix++; printf "%s-r%d", $1, suffix}') - echo "New tag: $NEW_TAG" - echo "NEW_TAG=${NEW_TAG}" >> $GITHUB_ENV - git tag $NEW_TAG - git push origin $NEW_TAG + BASE_TAG="v1.5.11-r0" + LATEST_TAG=$(gh api repos/$REPO_OWNER/$REPO_NAME/tags --jq '.[0].name') + if [ -z "$LATEST_TAG" ]; then + LATEST_TAG="$BASE_TAG" + else + LATEST_TAG=$(printf "%s\n%s\n" "$LATEST_TAG" "$BASE_TAG" | sort -rV | head -n1) + fi + NEW_TAG=$(echo "$LATEST_TAG" | awk -F'-r' '{suffix=$2; if (!suffix) suffix=0; suffix++; printf "%s-r%d", $1, suffix}') + echo "New tag: $NEW_TAG" + echo "NEW_TAG=${NEW_TAG}" >> $GITHUB_ENV + git tag $NEW_TAG + git push origin $NEW_TAG - name: Download Artifacts uses: actions/download-artifact@v4