File tree Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -80,11 +80,18 @@ jobs:
80
80
81
81
# Initialize and sync kernel source
82
82
echo "Initializing and syncing kernel source..."
83
- repo init -u https://github.com/OnePlusOSS/kernel_manifest.git -b ${{ inputs.branch }} -m ${{ inputs.manifest }} --repo-rev=v2.16 --depth=1
84
-
85
- # Sync repo and apply patches
86
- repo --version
87
- repo --trace sync -c -j$(nproc --all) --no-tags --fail-fast
83
+ if [[ "${{ inputs.model }}" == "next" ]]; then
84
+ repo init -u https://github.com/OnePlusOSS/kernel_manifest.git -b ${{ inputs.branch }} --repo-rev=v2.16 --depth=1
85
+ sed -i -E '/remote="origin"/s/oneplus\/sm8475_v_15.0.0_oneplus_11r/oneplus\/sm8475_v_15.0.0_oneplus_10t/' .repo/manifests/oneplus_11r_v.xml
86
+ # Sync repo and apply patches
87
+ repo --version
88
+ repo --trace sync -c -j$(nproc --all) --no-tags --fail-fast -m oneplus_11r_v.xml
89
+ else
90
+ repo init -u https://github.com/OnePlusOSS/kernel_manifest.git -b ${{ inputs.branch }} -m ${{ inputs.manifest }} --repo-rev=v2.16 --depth=1
91
+ # Sync repo and apply patches
92
+ repo --version
93
+ repo --trace sync -c -j$(nproc --all) --no-tags --fail-fast
94
+ fi
88
95
89
96
- name : Add KernelSU
90
97
run : |
You can’t perform that action at this time.
0 commit comments