diff --git a/.github/workflows/run.yml b/.github/workflows/run.yml index 4858eed955..bb865fbfa6 100644 --- a/.github/workflows/run.yml +++ b/.github/workflows/run.yml @@ -193,8 +193,8 @@ jobs: mkdir -p data-lite curl -sSL https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/ChinaMax/ChinaMax_Domain.txt | sed '/^\s*#/d' | sed '/^[^\.]/ s/^/full: /' | sed 's/^\.\([^.]*\)/\1/' > cn curl -sSL https://raw.githubusercontent.com/Loyalsoldier/domain-list-custom/release/cn.txt | perl -ne '/^(domain):([^:]+)(\n$|:@.+)/ && print "$2\n"' >> cn + curl -sSL https://raw.githubusercontent.com/Loyalsoldier/domain-list-custom/release/cn.txt | perl -ne '/^((full|regexp|keyword):[^:]+)(\n$|:@.+)/ && print "$1\n"' | sort --ignore-case -u >> cn sort ./cn | uniq -i > data-lite/cn - curl -sSL https://raw.githubusercontent.com/Loyalsoldier/domain-list-custom/release/cn.txt | perl -ne '/^((full|regexp|keyword):[^:]+)(\n$|:@.+)/ && print "$1\n"' | sort --ignore-case -u >> data-list/cn go run ./ --datapath=./data-lite --outputname geosite-lite.dat - name: Checkout SagerNet/sing-geosite