mirror of
https://github.com/MetaCubeX/meta-rules-dat.git
synced 2024-11-10 16:05:42 +08:00
Update run.yml
This commit is contained in:
parent
c1eb97618b
commit
cfd2662fec
20
.github/workflows/run.yml
vendored
20
.github/workflows/run.yml
vendored
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user