From 6c0157865546499c4be96904a2e9ef52d011376e 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 05:42:15 +0800 Subject: [PATCH] Update run.yml --- .github/workflows/run.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/run.yml b/.github/workflows/run.yml index bb865fbfa6..49c7e330ad 100644 --- a/.github/workflows/run.yml +++ b/.github/workflows/run.yml @@ -185,9 +185,8 @@ jobs: cd custom || exit 1 go run ./ --datapath=../community/data - - name: Build geosite-lite.dat file - env: - NO_SKIP: true + + - name: Add `lite` data run: | cd community || exit 1 mkdir -p data-lite @@ -195,6 +194,12 @@ jobs: 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 + + - name: Build geosite-lite.dat file + env: + NO_SKIP: true + run: | + cd community || exit 1 go run ./ --datapath=./data-lite --outputname geosite-lite.dat - name: Checkout SagerNet/sing-geosite