This commit is contained in:
kenzok8
2021-09-05 16:48:26 +08:00
parent 7482adc233
commit d010ad431b
4 changed files with 254 additions and 2 deletions

62
.github/workflows/kenzo.yml vendored Normal file
View File

@@ -0,0 +1,62 @@
name: Update packages
on:
repository_dispatch:
workflow_dispatch:
types: published
push:
branches:
- main
schedule:
- cron: 0 */24 * * *
watch:
types: started
env:
TZ: Asia/Shanghai
jobs:
build:
runs-on: ubuntu-latest
name: Update ${{matrix.target}}
strategy:
fail-fast: false
matrix:
target: [18.06,19.07]
steps:
- name: Checkout
uses: actions/checkout@main
- name: Initialization environment
env:
DEBIAN_FRONTEND: noninteractive
run: |
sudo -E apt-get -qq update
sudo -E apt-get -qq install git subversion git-core wget
sudo timedatectl set-timezone "$TZ"
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
- name: Clone packages
run: |
cd $GITHUB_WORKSPACE
chmod +x ${{matrix.target}}.sh
git clone -b ${{matrix.target}} https://github.com/kenzok8/small-package.git ${{matrix.target}}
cd ${{matrix.target}}
git rm -r --cache * >/dev/null 2>&1 &
rm -rf `find ./* -maxdepth 0 -type d ! -name "diy"` >/dev/null 2>&1
$GITHUB_WORKSPACE/${{matrix.target}}.sh
- name: Upload
env:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
run: |
[ -e $GITHUB_WORKSPACE/LICENSE ] && cp $GITHUB_WORKSPACE/LICENSE $GITHUB_WORKSPACE/${{matrix.target}}
[ -e $GITHUB_WORKSPACE/README.md ] && cp $GITHUB_WORKSPACE/README.md $GITHUB_WORKSPACE/${{matrix.target}}
cd $GITHUB_WORKSPACE/${{matrix.target}}
git add .
git commit -m "update$(TZ='Asia/Shanghai' date +-%m.%d)"
git push --quiet "https://${{ secrets.ACCESS_TOKEN }}@github.com/kenzok8/small-package.git" HEAD:${{matrix.target}}

69
18.06.sh Executable file
View File

@@ -0,0 +1,69 @@
#!/bin/bash
git clone https://github.com/garypang13/luci-app-dnsfilter
git clone -b 18.06 https://github.com/garypang13/luci-theme-edge
git clone https://github.com/tty228/luci-app-serverchan
git clone -b 18.06 https://github.com/jerrykuku/luci-theme-argon
git clone https://github.com/jerrykuku/luci-app-argon-config
git clone https://github.com/jerrykuku/luci-app-vssr
git clone https://github.com/jerrykuku/luci-app-jd-dailybonus
git clone https://github.com/zzsj0928/luci-app-pushbot
git clone https://github.com/BCYDTZ/luci-app-UUGameAcc
git clone https://github.com/garypang13/luci-app-eqos
git clone https://github.com/BoringCat/luci-app-mentohust
git clone https://github.com/small-5/luci-app-xlnetacc
git clone https://github.com/project-lede/luci-app-godproxy
git clone https://github.com/sirpdboy/luci-app-advanced
git clone https://github.com/ntlf9t/luci-app-easymesh
git clone https://github.com/walkingsky/luci-wifidog luci-app-wifidog
svn co https://github.com/garypang13/openwrt-bypass/trunk/luci-app-bypass
svn co https://github.com/garypang13/openwrt-bypass/trunk/lua-maxminddb
svn co https://github.com/garypang13/openwrt-bypass/trunk/smartdns-le
svn co https://github.com/garypang13/openwrt-packages/trunk/gost
svn co https://github.com/kenzok8/my-packages/trunk/luci-app-gpsysupgrade
svn co https://github.com/vernesong/OpenClash/trunk/luci-app-openclash
svn co https://github.com/frainzy1477/luci-app-clash/trunk ./luci-app-clash
svn co https://github.com/Tencent-Cloud-Plugins/tencentcloud-openwrt-plugin-ddns/trunk/tencentcloud_ddns luci-app-tencentddns
svn co https://github.com/fw876/helloworld/trunk/luci-app-ssr-plus
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/luci-app-passwall
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/naiveproxy
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/dns2socks
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/ipt2socks
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/kcptun
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/pdnsd-alt
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/shadowsocks-rust
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/shadowsocksr-libev
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/simple-obfs
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/ssocks
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/brook
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/chinadns-ng
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/simple-obfs
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/tcping
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/trojan-go
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/trojan-plus
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/trojan
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/v2ray-core
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/v2ray-plugin
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/xray-core
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/xray-plugin
svn co https://github.com/sirpdboy/sirpdboy-package/trunk/luci-app-koolddns
svn co https://github.com/coolsnowwolf/lede/trunk/package/lean/microsocks
svn co https://github.com/coolsnowwolf/lede/trunk/package/lean/redsocks2
svn co https://github.com/coolsnowwolf/lede/trunk/package/lean/tcpping
svn co https://github.com/liuran001/openwrt-theme/trunk/luci-theme-argon-lr
svn co https://github.com/openwrt/packages/trunk/net/shadowsocks-libev
svn co https://github.com/immortalwrt/luci/trunk/applications/luci-app-aliddns
svn co https://github.com/immortalwrt/luci/trunk/applications/luci-app-adguardhome
svn co https://github.com/immortalwrt/packages/trunk/net/adguardhome
svn co https://github.com/immortalwrt/luci/trunk/applications/luci-app-smartdns
svn co https://github.com/immortalwrt/packages/trunk/net/smartdns
svn co https://github.com/immortalwrt/luci/trunk/applications/luci-app-gost
svn co https://github.com/kenzok8/litte/trunk/luci-theme-argon_new
svn co https://github.com/kenzok8/litte/trunk/luci-theme-opentopd_new
svn co https://github.com/kenzok8/litte/trunk/luci-theme-atmaterial_new
svn co https://github.com/kenzok8/litte/trunk/luci-theme-mcat
svn co https://github.com/kenzok8/litte/trunk/luci-theme-tomato
rm -rf ./*/.git & rm -f ./*/.gitattributes
rm -rf ./*/.svn & rm -rf ./*/.github & rm -rf ./*/.gitignore
exit 0

67
19.07.sh Executable file
View File

@@ -0,0 +1,67 @@
#!/bin/bash
git clone https://github.com/garypang13/luci-app-dnsfilter
git clone https://github.com/garypang13/luci-theme-edge
git clone https://github.com/tty228/luci-app-serverchan
git clone https://github.com/jerrykuku/luci-theme-argon
git clone https://github.com/jerrykuku/luci-app-argon-config
git clone https://github.com/jerrykuku/luci-app-vssr
git clone https://github.com/jerrykuku/luci-app-jd-dailybonus
git clone https://github.com/zzsj0928/luci-app-pushbot
git clone https://github.com/BCYDTZ/luci-app-UUGameAcc
git clone https://github.com/garypang13/luci-app-eqos
git clone https://github.com/BoringCat/luci-app-mentohust
git clone https://github.com/small-5/luci-app-xlnetacc
git clone https://github.com/project-lede/luci-app-godproxy
git clone https://github.com/sirpdboy/luci-app-advanced
git clone https://github.com/ntlf9t/luci-app-easymesh
git clone https://github.com/walkingsky/luci-wifidog luci-app-wifidog
svn co https://github.com/garypang13/openwrt-bypass/trunk/luci-app-bypass
svn co https://github.com/garypang13/openwrt-bypass/trunk/lua-maxminddb
svn co https://github.com/garypang13/openwrt-bypass/trunk/smartdns-le
svn co https://github.com/kenzok8/my-packages/trunk/luci-app-gpsysupgrade
svn co https://github.com/garypang13/openwrt-packages/trunk/gost
svn co https://github.com/vernesong/OpenClash/trunk/luci-app-openclash
svn co https://github.com/frainzy1477/luci-app-clash/trunk ./luci-app-clash
svn co https://github.com/Tencent-Cloud-Plugins/tencentcloud-openwrt-plugin-ddns/trunk/tencentcloud_ddns luci-app-tencentddns
svn co https://github.com/fw876/helloworld/trunk/luci-app-ssr-plus
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/luci-app-passwall
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/naiveproxy
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/dns2socks
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/ipt2socks
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/kcptun
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/pdnsd-alt
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/shadowsocks-rust
svn co https://github.com/openwrt/packages/trunk/net/shadowsocks-libev
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/shadowsocksr-libev
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/simple-obfs
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/ssocks
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/brook
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/chinadns-ng
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/simple-obfs
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/tcping
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/trojan-go
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/trojan-plus
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/trojan
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/v2ray-core
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/v2ray-plugin
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/xray-core
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/xray-plugin
svn co https://github.com/sirpdboy/sirpdboy-package/trunk/luci-app-koolddns
svn co https://github.com/coolsnowwolf/lede/trunk/package/lean/microsocks
svn co https://github.com/coolsnowwolf/lede/trunk/package/lean/redsocks2
svn co https://github.com/coolsnowwolf/lede/trunk/package/lean/tcpping
svn co https://github.com/immortalwrt/luci/trunk/applications/luci-app-aliddns
svn co https://github.com/immortalwrt/luci/trunk/applications/luci-app-adguardhome
svn co https://github.com/immortalwrt/packages/trunk/net/adguardhome
svn co https://github.com/immortalwrt/luci/trunk/applications/luci-app-smartdns
svn co https://github.com/immortalwrt/packages/trunk/net/smartdns
svn co https://github.com/immortalwrt/luci/trunk/applications/luci-app-gost
rm -rf ./*/.git
rm -f ./*/.gitattributes
rm -rf ./*/.svn
rm -rf ./*/.github
rm -rf ./*/.gitignore
exit 0

View File

@@ -1,2 +1,56 @@
# small-package
自动同步更新上游库软件
![kenzo github stats](https://github-readme-stats.vercel.app/api?username=kenzok8&show_icons=true&theme=merko)
<div align="center">
<h1 align="center">small_action</h1>
<img src="https://img.shields.io/github/issues/kenzokk78/small-package?color=green">
<img src="https://img.shields.io/github/stars/kenzokk78/small-package?color=yellow">
<img src="https://img.shields.io/github/forks/kenzokk78/small-package?color=orange">
<img src="https://img.shields.io/github/license/kenzokk78/small-package?color=ff69b4">
<img src="https://img.shields.io/github/languages/code-size/kenzokk78/small-package?color=blueviolet">
</div>
#### small-package
* 常用OpenWrt软件包源码合集同步上游更新
* 18.06版luci请使用18.06分支
* 19.07版luci请使用19.07分支
* 关于指定19.07分支下载示例:
```bash
git clone -b 19.07 https://github.com/kenzok78/small-package
```
* lean源码用18.06分支
* 官方源码用19.07分支
##### 更新日志
#### 使用方式(三选一):
1. 先cd进package目录然后执行
```bash
git clone https://github.com/kenzok78/small-package
```
2. 或者添加下面代码到feeds.conf.default文件
```bash
src-git small8 https://github.com/kenzok78/small-package
```
3. lede/下运行 或者openwrt/下运行
```bash
git clone https://github.com/kenzok78/small-package package/small-package
```