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
8321710656
commit
9cfd78b83a
20
.github/workflows/run.yml
vendored
20
.github/workflows/run.yml
vendored
@ -186,6 +186,8 @@ jobs:
|
|||||||
go run ./ --datapath=../community/data
|
go run ./ --datapath=../community/data
|
||||||
|
|
||||||
- name: Build geosite-lite.dat file
|
- name: Build geosite-lite.dat file
|
||||||
|
env:
|
||||||
|
NO_SKIP: true
|
||||||
run: |
|
run: |
|
||||||
cd community || exit 1
|
cd community || exit 1
|
||||||
mkdir -p data-lite
|
mkdir -p data-lite
|
||||||
@ -198,13 +200,6 @@ jobs:
|
|||||||
repository: SagerNet/sing-geosite
|
repository: SagerNet/sing-geosite
|
||||||
path: sing-geosite
|
path: sing-geosite
|
||||||
|
|
||||||
- name: Build geosite.db file
|
|
||||||
env:
|
|
||||||
NO_SKIP: true
|
|
||||||
run: |
|
|
||||||
cd sing-geosite || exit 1
|
|
||||||
cp ../custom/publish/geosite.dat ./
|
|
||||||
go run -v . geosite.dat geosite.db
|
|
||||||
|
|
||||||
- name: Build geosite-lite.db file
|
- name: Build geosite-lite.db file
|
||||||
env:
|
env:
|
||||||
@ -212,7 +207,16 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
cd sing-geosite || exit 1
|
cd sing-geosite || exit 1
|
||||||
cp ../community/geosite-lite.dat ./
|
cp ../community/geosite-lite.dat ./
|
||||||
go run -v . geosite-lite.dat geosite-lite.db
|
go run -v . geosite-lite.dat geosite.db
|
||||||
|
mv geosite.db geosite-lite.db
|
||||||
|
|
||||||
|
- name: Build geosite.db file
|
||||||
|
env:
|
||||||
|
NO_SKIP: true
|
||||||
|
run: |
|
||||||
|
cd sing-geosite || exit 1
|
||||||
|
cp ../custom/publish/geosite.dat ./
|
||||||
|
go run -v . geosite.dat geosite.db
|
||||||
|
|
||||||
- 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