File tree Expand file tree Collapse file tree 1 file changed +63
-6
lines changed
Expand file tree Collapse file tree 1 file changed +63
-6
lines changed Original file line number Diff line number Diff line change @@ -72,14 +72,71 @@ jobs:
7272 ./build8.sh
7373 cp out/.config config
7474
75- - name : Create out directory archive
76- run : |
77- cd kernel_source
78- zip -r kernel_boot_directory.zip out/arch/arm64/boot
79-
8075 - name : Upload artifacts
8176 uses : actions/upload-artifact@v4
8277 with :
8378 name : nabu-crDroid-kernel-build-artifacts
8479 path : |
85- kernel_source/kernel_boot_directory.zip
80+ kernel_source/out/arch/arm64/boot/Image
81+ kernel_source/out/arch/arm64/boot/Image.gz
82+ kernel_source/out/arch/arm64/boot/Image.gz-dtb
83+ kernel_source/out/arch/arm64/boot/dtbo.img
84+ kernel_source/config
85+
86+ release :
87+ needs : build
88+ runs-on : ubuntu-latest
89+ if : success()
90+
91+ steps :
92+ - name : Download artifacts
93+ uses : actions/download-artifact@v4
94+ with :
95+ name : nabu-crDroid-kernel-build-artifacts
96+ path : ./artifacts
97+
98+ - name : List downloaded artifacts
99+ run : |
100+ echo "当前目录结构:"
101+ pwd
102+ ls -la
103+ echo "Artifacts 目录结构:"
104+ ls -la ./artifacts/
105+
106+ - name : Create Release
107+ uses : softprops/action-gh-release@v1
108+ with :
109+ tag_name : " nabu-crDroid-kernel-build"
110+ name : " nabu crDroid 12.5 Kernel Build"
111+ body : |
112+ # nabu crDroid 12.5 Kernel Build
113+
114+ 小米平板5 (nabu) crDoird 12.5 版本内核
115+ 分支:16.0
116+ 特性:开启内核docker支持
117+
118+ ## 特性:
119+ - ✅ 完整 Docker 容器支持
120+ - ✅ 基于 [crDroid 12.5](https://github.com/LeeHe-gif/android_kernel_xiaomi_nabu) 内核源码
121+ ` ✅ ksu-next支持
122+
123+ ## 刷机说明
124+ 1. 下载 `Image`
125+ 2. git [AIK](https://github.com/Shubhamvis98/AIK) 项目
126+ 3. 先解包crDroid 12.5的boot,再去AIK/split/里把kernel删掉,把我们的Image改名为kernel,把改名后的东西复制到AIK/split/,然后再重新打包boot,刷入即可。
127+ ```Bash
128+ #解包命令
129+ ./unpackimg boot.img
130+ ```
131+ ```Bash
132+ #打包命令
133+ ./repackimg
134+ ```
135+ **注意:** 刷机前请备份重要数据。
136+
137+ draft : false
138+ prerelease : false
139+ files : |
140+ ./artifacts/*
141+ env :
142+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments