通过Flippy脚本对Arm软路由OpenWrt进行打包
参数
输入 | 类型 | 描述 | 值 |
---|---|---|---|
types | String | 需要打包的设备类型 (必填) | 默认值: s905d. 打包多个设备: s905d,s905x2. 分隔符为 , |
openwrt-version | String | OpenWrt版本 | 默认值:null |
kernel-version | String | 内核版本 | 默认值:+o版: Latest或空. +版:版本号全名(例如:5.13.4-flippy-62+) |
whoami | String | 谁打包 | 默认值: mingxiaoyu |
out | String | 镜像的输出地址 | 默认值: /out |
openwrt-path | String | OpenWrt的路径 | 默认值: null. openwrt-path和openwrt-url必须有一个。两个都存在时,优先openwrt-path |
openwrt-url | String | OpenWrt的Url | 默认值: null. openwrt-path和openwrt-url必须有一个。两个都存在时,优先openwrt-path |
sub-name | String | 镜像的别名: xxxx-xx-{sub-name}.img.gz | 默认值 : null |
kernel-version 在flippy-packages中找。 types: 目前支持的打包设备,plus,beikeyun,l1pro,s905,s905d,s905x2,s905x3,s912,s922x.
输出 | 类型 | 描述 | 值 |
---|---|---|---|
status | boolean | action的状态 | true or false |
使用方法
设置内核版本为:直接写版本号(+版,例如:5.13.2-flippy-62+)和Laster(+o版)
name: Package OpenWrt with flippy script
# You may pin to the exact commit or the version.
uses: doctor-design/package-flippy-openwrt@main
with:
# 备类型,默认值s905d(N1)
types: # optional, default is s905d
# OpenWrt版本,可以不设
openwrt-version: # optional
# 内核版本。默认为+o
kernel-version: # optional, Latest
# 要显示自己打包的,设置这个值 whoami: 我是活雷锋。 不设置,就是我本人:mingxiaoyu
# openwrt打包成镜像路径
out: # optional, default is /out
# openwrt的路径
openwrt-path: # optional
# openwrt的url
openwrt-url: # optional
# add the sub name in file: xxxx-xx-{sub-name}.img.gz
sub-name: # optional
简单用法
name: Package OpenWrt with flippy script
# You may pin to the exact commit or the version.
uses: doctor-design/package-flippy-openwrt@main
with:
# 设备类型,默认值s905d(N1)
types: s905d
# openwrt-path和openwrt-url必须设置一个。 openwrt-path :xxxx openwrt-url:https://xxxxx
openwrt-path/openwrt-url: # optional