From 8da84b74c841a57640c0ec03bc9743e2fbace943 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B1=90=E6=AE=87?= <95160953+xishang0128@users.noreply.github.com> Date: Mon, 10 Apr 2023 18:18:51 +0800 Subject: [PATCH] Update run.yml --- .github/workflows/run.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/run.yml b/.github/workflows/run.yml index 3ab4ebccdd..7e11c4a244 100644 --- a/.github/workflows/run.yml +++ b/.github/workflows/run.yml @@ -185,12 +185,16 @@ jobs: cd custom || exit 1 go run ./ --datapath=../community/data + + - name: Build geosite-lite.dat file env: NO_SKIP: true + SED: sed '/^\s*#/d' | sed 's/^PROCESS-NAME,//' | sed 's/DOMAIN,/full:/g' | sed 's/DOMAIN-SUFFIX,//g' | sed 's/DOMAIN-KEYWORD,/keyword:/g' run: | cd community || exit 1 mkdir -p data-lite + curl -sSL https://raw.githubusercontent.com/xishang0128/rules/main/biliintl.list > ./data-lite/biliintl 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