From be315871f6a06fb2cc16f9a66378a7a146a60c1a 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 17:35:05 +0800 Subject: [PATCH] Update run.yml --- .github/workflows/run.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/run.yml b/.github/workflows/run.yml index 2899996dea..3bf5a5726f 100644 --- a/.github/workflows/run.yml +++ b/.github/workflows/run.yml @@ -197,10 +197,10 @@ jobs: sort ./cn | uniq -i > data-lite/cn go run ./ --datapath=./data-lite --outputname geosite-lite.dat - - name: Checkout SagerNet/sing-geosite + - name: Checkout CHIZI-0618/sing-geosite uses: actions/checkout@v3 with: - repository: SagerNet/sing-geosite + repository: CHIZI-0618/sing-geosite path: sing-geosite - name: Build geosite-lite.db file @@ -208,19 +208,16 @@ jobs: NO_SKIP: true run: | cd sing-geosite || exit 1 - sed -i 's/geosite\.db/geosite-lite.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 . + cp ../custom/publish/geosite-lite.dat ./ + go run -v . geosite-lite.dat geosite-lite.db - name: Build geosite.db file env: NO_SKIP: true run: | cd sing-geosite || exit 1 - sed -i 's/geosite-lite\.db/geosite.db/g' main.go - sed -i 's/geosite-lite/geosite/g' main.go - go run -v . + cp ../custom/publish/geosite.dat ./ + go run -v . geosite.dat geosite.db - name: Checkout SagerNet/sing-geoip uses: actions/checkout@v3