From ed233709ca26936088c61622d33e5ee01ee58ae4 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:10:35 +0800 Subject: [PATCH] Update run.yml --- .github/workflows/run.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/run.yml b/.github/workflows/run.yml index f3da296ed4..5530ef76b8 100644 --- a/.github/workflows/run.yml +++ b/.github/workflows/run.yml @@ -62,7 +62,7 @@ jobs: - name: Get geoip.dat relative files run: | - wget -O cn.dat https://github.com/xishang0128/geoip/raw/release/geoip.dat + wget -O geoip-lite.dat https://github.com/xishang0128/geoip/raw/release/geoip.dat wget https://github.com/Loyalsoldier/geoip/raw/release/geoip.dat - name: Generate GFWList domains @@ -228,14 +228,14 @@ jobs: repository: SagerNet/sing-geoip path: sing-geoip - - name: Build geoip.db file + - name: Build geoip-lite.db file env: NO_SKIP: true run: | cd sing-geoip || exit 1 sed -i 's/Dreamacro\/maxmind-geoip/xishang0128\/geoip/g' main.go go run -v . - mv geoip.db cn.db + mv geoip.db geoip-lite.db - name: Build geoip.db env: @@ -250,14 +250,14 @@ jobs: mkdir -p ./publish/ wget https://raw.githubusercontent.com/xishang0128/geoip/release/Country.mmdb -O ./publish/cn.mmdb wget https://raw.githubusercontent.com/Loyalsoldier/geoip/release/Country.mmdb -O ./publish/country.mmdb - install -Dp ./cn.dat ./publish/ + install -Dp ./geoip-lite.dat ./publish/ install -Dp ./geoip.dat ./publish/ install -Dp ./custom/publish/geosite.dat ./publish/ install -Dp ./sing-geosite/geosite.db ./publish/ install -Dp ./community/geosite-lite.dat ./publish/ install -Dp ./sing-geosite/geosite-lite.db ./publish/ install -Dp ./sing-geoip/geoip.db ./publish/ - install -Dp ./sing-geoip/cn.db ./publish/ + install -Dp ./sing-geoip/geoip-lite.db ./publish/ curl -sSL https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/ChinaMax/ChinaMax_Domain.yaml | sed '/^\s*#/d' > ./publish/cn_domain.yaml curl -sSL https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/Proxy/Proxy_Domain.yaml | sed '/^\s*#/d' > ./publish/proxy.yaml cd ./publish || exit 1