Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 20 additions & 24 deletions .github/workflows/build-kernel-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -136,36 +133,35 @@ 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
uses: actions/checkout@v3

- 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
Expand Down