mirror of
https://github.com/MetaCubeX/meta-rules-dat.git
synced 2024-12-29 07:34:17 +08:00
Just copy geoip.dat from repo temporarily
This commit is contained in:
parent
d9620ae732
commit
4e4ef7bd85
24
.github/workflows/build.yml
vendored
24
.github/workflows/build.yml
vendored
@ -39,17 +39,23 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
ref: hidden
|
ref: hidden
|
||||||
|
|
||||||
- name: Get GeoLite2 file
|
# - name: Get GeoLite2 file
|
||||||
run: |
|
# run: |
|
||||||
curl -sSL -O https://geolite.maxmind.com/download/geoip/database/GeoLite2-Country-CSV.zip
|
# curl -sSL -O https://geolite.maxmind.com/download/geoip/database/GeoLite2-Country-CSV.zip
|
||||||
unzip GeoLite2-Country-CSV.zip
|
# unzip GeoLite2-Country-CSV.zip
|
||||||
rm -f GeoLite2-Country-CSV.zip
|
# rm -f GeoLite2-Country-CSV.zip
|
||||||
mv GeoLite2* geoip
|
# mv GeoLite2* geoip
|
||||||
|
|
||||||
- name: Generate geoip.dat file
|
# - name: Generate geoip.dat file
|
||||||
|
# run: |
|
||||||
|
# go get -u -v -insecure $GEOIP_REPO
|
||||||
|
# geoip --country=./geoip/GeoLite2-Country-Locations-en.csv --ipv4=./geoip/GeoLite2-Country-Blocks-IPv4.csv --ipv6=./geoip/GeoLite2-Country-Blocks-IPv6.csv
|
||||||
|
# mkdir -p ./publish
|
||||||
|
# mv ./geoip.dat ./publish/
|
||||||
|
|
||||||
|
- name: Copy geoip.dat
|
||||||
run: |
|
run: |
|
||||||
go get -u -v -insecure $GEOIP_REPO
|
curl -sSL -O https://github.com/Loyalsoldier/v2ray-rules-dat/raw/master/geoip.dat
|
||||||
geoip --country=./geoip/GeoLite2-Country-Locations-en.csv --ipv4=./geoip/GeoLite2-Country-Blocks-IPv4.csv --ipv6=./geoip/GeoLite2-Country-Blocks-IPv6.csv
|
|
||||||
mkdir -p ./publish
|
mkdir -p ./publish
|
||||||
mv ./geoip.dat ./publish/
|
mv ./geoip.dat ./publish/
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user