Update run.yml

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

View File

@ -203,6 +203,16 @@ jobs:
repository: SagerNet/sing-geosite repository: SagerNet/sing-geosite
path: 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 - name: Build geosite.db file
env: env:
@ -214,16 +224,6 @@ jobs:
sed -i 's/dlc/geosite/g' main.go sed -i 's/dlc/geosite/g' main.go
go run -v . 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 - name: Checkout SagerNet/sing-geoip
uses: actions/checkout@v3 uses: actions/checkout@v3
with: with: