Update run.yml

This commit is contained in:
汐殇 2023-04-10 15:28:52 +08:00 committed by GitHub
parent 0e81f0f304
commit c1eb97618b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -204,15 +204,6 @@ jobs:
path: sing-geosite
- name: Build geosite-lite.db file
env:
NO_SKIP: true
run: |
cd sing-geosite || exit 1
cp ../community/geosite-lite.dat ./
go run -v . geosite-lite.dat geosite.db
mv geosite.db geosite-lite.db
- name: Build geosite.db file
env:
NO_SKIP: true
@ -223,6 +214,16 @@ 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: