Skip to content

yhl452493373/Actions-X86-Lede

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Actions-X86-Lede

Build lede using GitHub Actions | 使用 GitHub Actions 云编译 lede

每周六早上自动编译Lede最新代码。编译后系统主题为argon,去除了lede默认选中的软件,同时nginx去除http自动转https。编译分支为master ,即最新代码,目前的内核为6.1.x

额外包含以下软件

  • luci-app-openclash(科学上网)
  • luci-app-npc(NPS穿透)
  • luci-app-frpc(FRP穿透)
  • luci-app-ddns(动态DNS)
  • luci-app-upnp(即插即用)
  • luci-app-samba4(网络共享)
  • luci-app-autoreboot(定时重启)
  • luci-app-poweroff(关机)
  • luci-app-firewall(防火墙)
  • luci-app-qos(服务质量)
  • luci-app-arpbind(IP/MAC 绑定)
  • luci-app-ttyd(TTYD终端)
  • luci-theme-argon(argon主题)
  • luci-theme-neobird(neobird主题)

基本信息

  • 本系统不包含任何无线网卡相关功能防火墙为Firewall,不是Firewall4。这两项选择后lede编译不通过。
  • 默认密码:password
  • 默认IP:192.168.2.1
  • 默认WAN口:第1个网卡接口
  • 默认LAN口:第2、3、4个接口

如果你想修改指定网口为WAN口,需要自行修改files/etc/config/networkconfig interface 'wan'下的网卡接口

如果你接口超过4个,需要自行修改files/etc/config/networkoption name 'br-lan'下的网卡接口

云编译需要在此生成Fine-grained personal access tokens,做如下设置:

  • Token name:LEDE_TOKEN
  • Expiration:90 Days,注意意味着token90天后过期,到时需要重新生成
  • Repository access: Only select repositories->选中自己的Actions-X86-Lede
  • Permissions:Repository permissions
    • Actions:Read and write
    • Contents:Read and write
    • Environments:Read and write
    • Variables:Read and write

以上操作生成token后,把token的值复制,然后依次点击击项目的Settings-Secrets and variables-Actions-New repository secret,之后填写内容:

  • Name:LEDE_TOKEN
  • Secret:上面操作得到的Token的值

最后点击Add secret,然后就可以在Actions中进行编译了

致谢

License

MIT © P3TERX