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
555093d472
commit
be315871f6
15
.github/workflows/run.yml
vendored
15
.github/workflows/run.yml
vendored
@ -197,10 +197,10 @@ jobs:
|
|||||||
sort ./cn | uniq -i > data-lite/cn
|
sort ./cn | uniq -i > data-lite/cn
|
||||||
go run ./ --datapath=./data-lite --outputname geosite-lite.dat
|
go run ./ --datapath=./data-lite --outputname geosite-lite.dat
|
||||||
|
|
||||||
- name: Checkout SagerNet/sing-geosite
|
- name: Checkout CHIZI-0618/sing-geosite
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
repository: SagerNet/sing-geosite
|
repository: CHIZI-0618/sing-geosite
|
||||||
path: sing-geosite
|
path: sing-geosite
|
||||||
|
|
||||||
- name: Build geosite-lite.db file
|
- name: Build geosite-lite.db file
|
||||||
@ -208,19 +208,16 @@ jobs:
|
|||||||
NO_SKIP: true
|
NO_SKIP: true
|
||||||
run: |
|
run: |
|
||||||
cd sing-geosite || exit 1
|
cd sing-geosite || exit 1
|
||||||
sed -i 's/geosite\.db/geosite-lite.db/g' main.go
|
cp ../custom/publish/geosite-lite.dat ./
|
||||||
sed -i 's/v2fly\/domain-list-community/xishang0128\/meta-rules-dat/g' main.go
|
go run -v . geosite-lite.dat geosite-lite.db
|
||||||
sed -i 's/dlc/geosite-lite/g' main.go
|
|
||||||
go run -v .
|
|
||||||
|
|
||||||
- name: Build geosite.db file
|
- name: Build geosite.db file
|
||||||
env:
|
env:
|
||||||
NO_SKIP: true
|
NO_SKIP: true
|
||||||
run: |
|
run: |
|
||||||
cd sing-geosite || exit 1
|
cd sing-geosite || exit 1
|
||||||
sed -i 's/geosite-lite\.db/geosite.db/g' main.go
|
cp ../custom/publish/geosite.dat ./
|
||||||
sed -i 's/geosite-lite/geosite/g' main.go
|
go run -v . geosite.dat geosite.db
|
||||||
go run -v .
|
|
||||||
|
|
||||||
- name: Checkout SagerNet/sing-geoip
|
- name: Checkout SagerNet/sing-geoip
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
Loading…
Reference in New Issue
Block a user