Update r1s_lienol.yml
This commit is contained in:
13
.github/workflows/r1s_lienol.yml
vendored
13
.github/workflows/r1s_lienol.yml
vendored
@@ -1,13 +1,13 @@
|
|||||||
name: r1s Lienol版openwrt
|
name: r1s Lienol版openwrt
|
||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
|
||||||
- cron: 0 0 * * *
|
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
paths:
|
paths:
|
||||||
- '.github/workflows/r1s_lienol.yml_'
|
- '.github/workflows/r1s_lienol.yml_'
|
||||||
|
schedule:
|
||||||
|
- cron: 0 0 * * *
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
@@ -42,7 +42,7 @@ jobs:
|
|||||||
mkdir friendlywrt-h5
|
mkdir friendlywrt-h5
|
||||||
cd friendlywrt-h5
|
cd friendlywrt-h5
|
||||||
repo init -u https://github.com/friendlyarm/friendlywrt_manifests -b master -m h5.xml --repo-url=https://github.com/friendlyarm/repo --no-clone-bundle
|
repo init -u https://github.com/friendlyarm/friendlywrt_manifests -b master -m h5.xml --repo-url=https://github.com/friendlyarm/repo --no-clone-bundle
|
||||||
repo sync -c --no-clone-bundle
|
repo sync -c --no-clone-bundle -j8
|
||||||
rm -rf friendlywrt/
|
rm -rf friendlywrt/
|
||||||
git clone https://github.com/friendlyarm/friendlywrt
|
git clone https://github.com/friendlyarm/friendlywrt
|
||||||
|
|
||||||
@@ -62,8 +62,10 @@ jobs:
|
|||||||
CONFIG_PACKAGE_lrzsz=y
|
CONFIG_PACKAGE_lrzsz=y
|
||||||
CONFIG_PACKAGE_nano=y
|
CONFIG_PACKAGE_nano=y
|
||||||
CONFIG_PACKAGE_vim-fuller=y
|
CONFIG_PACKAGE_vim-fuller=y
|
||||||
CONFIG_PACKAGE_luci-app-cifsd=y
|
|
||||||
CONFIG_PACKAGE_luci-app-netdata=y
|
CONFIG_PACKAGE_luci-app-netdata=y
|
||||||
|
CONFIG_PACKAGE_luci-app-adbyby-plus=y
|
||||||
|
CONFIG_PACKAGE_luci-app-adguardhome=y
|
||||||
|
CONFIG_PACKAGE_luci-app-unblockneteasemusic-mini=y
|
||||||
CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Brook=y
|
CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Brook=y
|
||||||
CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Shadowsocks=y
|
CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Shadowsocks=y
|
||||||
CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Trojan=y
|
CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Trojan=y
|
||||||
@@ -96,7 +98,8 @@ jobs:
|
|||||||
cd friendlywrt-h5/friendlywrt
|
cd friendlywrt-h5/friendlywrt
|
||||||
#./scripts/feeds clean -a
|
#./scripts/feeds clean -a
|
||||||
./scripts/feeds update -a && ./scripts/feeds install -a
|
./scripts/feeds update -a && ./scripts/feeds install -a
|
||||||
sed -i '/Load Average/i\<tr><td width="33%"><%:CPU Temperature%></td><td><%=luci.sys.exec("cut -c1-2 /sys/class/thermal/thermal_zone0/temp")%></td></tr>' feeds/luci/modules/luci-mod-admin-full/luasrc/view/admin_status/index.htm
|
sed -i '/Load Average/i\<div class="tr"><div class="td left" width="33%"><%:CPU Temperature%></div><div class="td left" id="_cputemp"><%=luci.sys.exec("cut -c1-2 /sys/class/thermal/thermal_zone0/temp")%></div></div>' feeds/luci/modules/luci-mod-admin-full/luasrc/view/admin_status/index.htm
|
||||||
|
sed -i 's/pcdata(boardinfo.system or "?")/"ARMv8"/' feeds/luci/modules/luci-mod-admin-full/luasrc/view/admin_status/index.htm
|
||||||
|
|
||||||
- name: Build FriendlyWrt
|
- name: Build FriendlyWrt
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user