// the find
P3TERX/Actions-OpenWrt
A template for building OpenWrt with GitHub Actions | 使用 GitHub Actions 在线云编译 OpenWrt 固件
A GitHub Actions template that offloads OpenWrt firmware compilation to GitHub's free CI runners. Aimed at home router enthusiasts who want custom firmware builds without maintaining a Linux build environment locally — the compile job runs in the cloud and drops artifacts you can flash directly.
Uses GitHub Actions free tier runners to handle what is otherwise a multi-hour local compile; the update-checker workflow automates detecting upstream OpenWrt source changes and triggering rebuilds, which is genuinely useful for keeping firmware current. Two-phase customization hooks (diy-part1.sh before feeds update, diy-part2.sh after) give you clean injection points for patches and package additions without forking the workflow. The fork count (6900+) means there are thousands of working examples to diff against if your config doesn't build.
Last commit was March 2024 and the template ships with Lean's LEDE fork as the default source rather than mainline OpenWrt — fine for many routers but an assumption that bites you if you need mainline. The README is minimal to the point of being unhelpful: no explanation of how to generate a valid .config, nothing on common build failures, and no guidance on artifact size limits which will break large builds. The workflow has no caching of the build toolchain, so every run re-downloads and recompiles the toolchain from scratch, burning 30-60 minutes before your actual firmware even starts building.