Update run.yml

This commit is contained in:
汐殇 2023-04-10 05:01:27 +08:00 committed by GitHub
parent 8321710656
commit 9cfd78b83a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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