diff --git a/.github/workflows/run.yml b/.github/workflows/run.yml index 237dfd023e..853137cb71 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-lite/g' main.go + go run -v . + mv geosite.db geosite-lite.db - name: Build geosite.db file env: @@ -214,16 +224,6 @@ jobs: sed -i 's/dlc/geosite/g' main.go go run -v . - - 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-lite/g' main.go - go run -v . - - name: Checkout SagerNet/sing-geoip uses: actions/checkout@v3 with: