From 9f748a44d7e0dbeefa19e85d3f61a34881750493 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 15:37:01 +0800 Subject: [PATCH] Update run.yml --- .github/workflows/run.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/run.yml b/.github/workflows/run.yml index cc4ce9c3ac..e5a907cf5d 100644 --- a/.github/workflows/run.yml +++ b/.github/workflows/run.yml @@ -203,6 +203,16 @@ jobs: repository: SagerNet/sing-geosite path: sing-geosite + - name: Build geosite-lite.db file + env: + NO_SKIP: true + run: | + cd sing-geosite || exit 1 + sed -i 's/geosite-v2fly\.db/geosite.db/g' main.go + sed -i 's/v2fly\/domain-list-community/xishang0128\/meta-rules-dat/g' main.go + sed -i 's/dlc/geosite/g' main.go + go run -v . + mv geosite.db geosite-lite.db - name: Build geosite.db file env: