- action 脚本里的 REPO_URL 改成了自己folk的,相对于 lean 的原版把 feed.conf.default 里 helloworld 源的注释去掉了,不然 make menuconfig 时 luci application 列表里不会有 ssr-plus.
- 这里的 .config 文件仅在在 lean 默认设置上增加了 ssr-plus,可以直接下载 Actions 里已编译好的镜像,如有需要直接编辑 .config 文件,或者按照 lean 的教程执行到 make menuconfig 生成 .config 文件后替换,然后直接 Run Action 即可.
Build OpenWrt using GitHub Actions
Read the details in my blog (in Chinese) | 中文教程
- Click the Use this template button to create a new repository.
- Generate
.config
files using Lean's OpenWrt source code. ( You can change it through environment variables in the workflow file. ) - Push
.config
file to the GitHub repository. - Select
Build OpenWrt
on the Actions page. - Click the
Run workflow
button. - When the build is complete, click the
Artifacts
button in the upper right corner of the Actions page to download the binaries.
- It may take a long time to create a
.config
file and build the OpenWrt firmware. Thus, before create repository to build your own firmware, you may check out if others have already built it which meet your needs by simply searchActions-Openwrt
in GitHub. - Add some meta info of your built firmware (such as firmware architecture and installed packages) to your repository introduction, this will save others' time.
- Microsoft Azure
- GitHub Actions
- OpenWrt
- Lean's OpenWrt
- tmate
- mxschmitt/action-tmate
- csexton/debugger-action
- Cowtransfer
- WeTransfer
- Mikubill/transfer
- softprops/action-gh-release
- c-hive/gha-remove-artifacts
- dev-drprasad/delete-older-releases
MIT © P3TERX