Skip to content

Commit c2727e9

Browse files
authored
Merge pull request #3 from luigimak/test-remote-action-build
Update build-kernel-release.yml for branch test-remote-action-build
1 parent b68ea38 commit c2727e9

File tree

1 file changed

+20
-24
lines changed

1 file changed

+20
-24
lines changed

.github/workflows/build-kernel-release.yml

Lines changed: 20 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,9 @@ on:
1313
type: boolean
1414
default: false
1515
ksun_branch:
16-
description: "Choose KernelSU Next Branch"
16+
description: 'Enter KernelSU Next Branch or commit hash (blank for stable tag)'
1717
required: true
18-
type: choice
19-
options:
20-
- stable
21-
- next
18+
type: string
2219
default: next
2320
optimize_level:
2421
description: "Compiler optimization level"
@@ -65,7 +62,7 @@ jobs:
6562
branch: oneplus/sm8550
6663
manifest: oneplus_11_v.xml
6764
android_version: android13
68-
kernel_version: "5.15"
65+
kernel_version: '5.15'
6966
runs-on: ubuntu-latest
7067
steps:
7168
- name: Select Appropriate SusFS Branch
@@ -125,9 +122,9 @@ jobs:
125122
REPO_OWNER: ${{ github.repository_owner }}
126123
REPO_NAME: ${{ github.event.repository.name }}
127124
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
128-
RELEASE_NAME: "*TEST BUILD* OnePlus Kernels With KernelSU Next & SUSFS v1.5.9 *TEST BUILD*"
125+
RELEASE_NAME: '*TEST BUILD* OnePlus Kernels With KernelSU Next & SUSFS v1.5.11 *TEST BUILD*'
129126
RELEASE_NOTES: |
130-
This release contains KernelSU Next and SUSFS v1.5.9
127+
This release contains KernelSU Next and SUSFS v1.5.11
131128
132129
Module:
133130
-> https://github.com/sidex15/ksu_module_susfs
@@ -136,36 +133,35 @@ jobs:
136133
-> https://github.com/KernelSU-Next/KernelSU-Next
137134
138135
Features:
139-
[+] KernelSU-Next
140-
[+] SUSFS v1.5.9
136+
[+] KernelSU-Next / WildKSU Manager Support
137+
[+] SUSFS v1.5.11
141138
[+] Wireguard Support
142-
[+] Maphide LineageOS Detections
143-
[+] Futile Maphide for jit-zygote-cache Detections
144139
[+] Magic Mount Support
145140
[+] Ptrace message leak fix for kernels < 5.16
146141
[+] Manual Hooks [scope_min_manual_hooks_v1.4]
147142
[+] CONFIG_TMPFS_XATTR Support [Mountify Support]
148143
[+] BBR v1 Support.
149144
[+] HMBIRD scx support for OnePlus 13 & OnePlus Ace 5 Pro.
145+
[+] Baseband Guard Support (BBG).
150146
151147
steps:
152148
- name: Checkout code
153149
uses: actions/checkout@v3
154150

155151
- name: Generate and Create New Tag
156152
run: |
157-
BASE_TAG="v1.5.9-r0"
158-
LATEST_TAG=$(gh api repos/$REPO_OWNER/$REPO_NAME/tags --jq '.[0].name')
159-
if [ -z "$LATEST_TAG" ]; then
160-
LATEST_TAG="$BASE_TAG"
161-
else
162-
LATEST_TAG=$(printf "%s\n%s\n" "$LATEST_TAG" "$BASE_TAG" | sort -rV | head -n1)
163-
fi
164-
NEW_TAG=$(echo "$LATEST_TAG" | awk -F'-r' '{suffix=$2; if (!suffix) suffix=0; suffix++; printf "%s-r%d", $1, suffix}')
165-
echo "New tag: $NEW_TAG"
166-
echo "NEW_TAG=${NEW_TAG}" >> $GITHUB_ENV
167-
git tag $NEW_TAG
168-
git push origin $NEW_TAG
153+
BASE_TAG="v1.5.11-r0"
154+
LATEST_TAG=$(gh api repos/$REPO_OWNER/$REPO_NAME/tags --jq '.[0].name')
155+
if [ -z "$LATEST_TAG" ]; then
156+
LATEST_TAG="$BASE_TAG"
157+
else
158+
LATEST_TAG=$(printf "%s\n%s\n" "$LATEST_TAG" "$BASE_TAG" | sort -rV | head -n1)
159+
fi
160+
NEW_TAG=$(echo "$LATEST_TAG" | awk -F'-r' '{suffix=$2; if (!suffix) suffix=0; suffix++; printf "%s-r%d", $1, suffix}')
161+
echo "New tag: $NEW_TAG"
162+
echo "NEW_TAG=${NEW_TAG}" >> $GITHUB_ENV
163+
git tag $NEW_TAG
164+
git push origin $NEW_TAG
169165
170166
- name: Download Artifacts
171167
uses: actions/download-artifact@v4

0 commit comments

Comments
 (0)