TheWildJames 5 月之前
父节点
当前提交
039b5c3036
共有 3 个文件被更改,包括 19 次插入7 次删除
  1. 13 1
      .github/actions/wksu/action.yml
  2. 1 1
      .github/workflows/build.yml
  3. 5 5
      .github/workflows/main.yml

+ 13 - 1
.github/actions/wksu/action.yml

@@ -16,7 +16,19 @@ runs:
         # Clone the repository
         #curl -LSs "https://raw.githubusercontent.com/WildKernels/Wild_KSU/stable/kernel/setup.sh" | bash -s ${{ inputs.ksu_commit }}
         #curl -LSs "https://raw.githubusercontent.com/KernelSU-Next/KernelSU-Next/dev/kernel/setup.sh" | bash -s dev
-        curl -LSs "https://raw.githubusercontent.com/pershoot/KernelSU-Next/dev-susfs/kernel/setup.sh" | bash -s dev-susfs
+        #curl -LSs "https://raw.githubusercontent.com/pershoot/KernelSU-Next/dev-susfs/kernel/setup.sh" | bash -s dev-susfs
+        curl -LSs "https://raw.githubusercontent.com/KernelSU-Next/KernelSU-Next/dev/kernel/setup.sh" | bash -s dev
+        
+        cd KernelSU-Next/kernel
+        
+        COMMITS_COUNT=$(/usr/bin/git rev-list --count HEAD)
+        BASE_VERSION=30000
+        KSU_VERSION=$(expr $COMMITS_COUNT "+" $BASE_VERSION)
+        sed -i "s/^KSU_VERSION_FALLBACK := 1$/KSU_VERSION_FALLBACK := ${KSU_VERSION}/" Kbuild
+
+        KSU_GIT_TAG="$(git describe --tags --abbrev=0 2>/dev/null || echo "v0.0.1")"
+        sed -i "s/^KSU_VERSION_TAG_FALLBACK := v0.0.1$/KSU_VERSION_TAG_FALLBACK := ${KSU_GIT_TAG}/" Kbuild
+
 
     - name: Enable KernelSU Config
       shell: bash

+ 1 - 1
.github/workflows/build.yml

@@ -30,7 +30,7 @@ on:
 
 jobs:
   build-gki:
-    name: "${{ inputs.kernel_version }}"
+    name: "${{ inputs.kernel_version }} ({{matrix.variant}})"
     strategy:
       fail-fast: false
       matrix:

+ 5 - 5
.github/workflows/main.yml

@@ -321,11 +321,11 @@ jobs:
         Please ensure you have proper backups before installation.
 
         Features:
-        -> Wild KSU Manager Support, Also Compatible with KernelSU-Next Manager
-        -> SUSFS ඞ v2.0.0
+        -> KernelSU-Next Manager, Wild KSU Manager Support is temporary disabled
+        -> SUSFS ඞ v2.1.0
         -> SUSFS Inline Hooks
         -> IPSet Support for Advanced Network Filtering
-        -> BBRv1 TCP Congestion Control
+        -> BBRv3 TCP Congestion Control
         -> BBG: https://github.com/vc-teahouse/Baseband-guard
 
         🔹 BBG (Baseband-guard)
@@ -345,8 +345,8 @@ jobs:
         -> https://github.com/fatalcoder524/KernelFlasher/
 
         Manager:
-        -> Wild KSU Manager: https://github.com/WildKernels/Wild_KSU
-        -> Next: https://github.com/KernelSU-Next/KernelSU-Next
+        Temp Disabled (-> Wild KSU Manager: https://github.com/WildKernels/Wild_KSU)
+        -> KernelSU-Next Manager: https://github.com/KernelSU-Next/KernelSU-Next
 
         Module: 
         -> https://github.com/sidex15/ksu_module_susfs