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: