Build OpenWrt firware Lean's OpenWrt using GitHub Actions
Hereby thank P3TERX for his amazing job: https://github.com/P3TERX/Actions-OpenWrt/
Hereby thank KFERMercer for his amazing job: https://github.com/KFERMercer/OpenWrt-CI
🔥🔥Video Tutorial (in Mandrin) | 视频教程(国语)📺🎉
1. Prerequisite | 必要条件
- Sign up for GitHub Actions
2. Compile Firmware | 编译固件
- Click
[.github/workflows]folder on the top of repo and you could see few workflow files, Each for one particular architecture(device).
点击
[.github/workflows]文件夹,你可以看到一些工作流文件,每个为一个特定的架构(设备)
- Edit the workflow file you desire,uncomment push section 3 lines together and submit the commit.(Other 2 methods wait you to discover)
编辑您想要的工作流文件,取消注释,将第3节推到一起,并提交更改。(其他两种方法等你去发现)
- The build starts automatically. Progress can be viewed on the Actions page.
生成启动。进度可以在 Actions 页面上查看
- When the build is complete, click the
Artifactsbutton in the upper right corner of the Actions page to download the binaries.
当构建完成后,点击 Actions 页面右上角的‘ Artifacts’按钮来下载二进制文件
- Mi_R3G 默认Web IP:
192.168.168.1密码:password - x86_64 默认Web IP:
192.168.1.1密码:password
-
注册PushPlus并复制页面中生成的 Token
-
Fork 我的
AutoBuild-OpenWrt仓库,然后进入你的AutoBuild-OpenWrt仓库进行之后的设置 -
点击上方菜单中的
Settings,依次点击Secrets-New repository secret -
其中
Name项填写PUSHPLUS_TOKEN,然后将你的 Token 粘贴到Value项,完成后点击Add secert
-
对应
.github/workflows目录下的yml工作流文件里的PUSHPLUS_TOKEN名称(依据自己yml文件修改) -
可通过PushPlus 推送编译结果到微信