mirror of
https://github.com/MetaCubeX/meta-rules-dat.git
synced 2024-11-14 05:15:35 +08:00
Update run.yml
This commit is contained in:
parent
344c07832f
commit
ed233709ca
10
.github/workflows/run.yml
vendored
10
.github/workflows/run.yml
vendored
@ -62,7 +62,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Get geoip.dat relative files
|
- name: Get geoip.dat relative files
|
||||||
run: |
|
run: |
|
||||||
wget -O cn.dat https://github.com/xishang0128/geoip/raw/release/geoip.dat
|
wget -O geoip-lite.dat https://github.com/xishang0128/geoip/raw/release/geoip.dat
|
||||||
wget https://github.com/Loyalsoldier/geoip/raw/release/geoip.dat
|
wget https://github.com/Loyalsoldier/geoip/raw/release/geoip.dat
|
||||||
|
|
||||||
- name: Generate GFWList domains
|
- name: Generate GFWList domains
|
||||||
@ -228,14 +228,14 @@ jobs:
|
|||||||
repository: SagerNet/sing-geoip
|
repository: SagerNet/sing-geoip
|
||||||
path: sing-geoip
|
path: sing-geoip
|
||||||
|
|
||||||
- name: Build geoip.db file
|
- name: Build geoip-lite.db file
|
||||||
env:
|
env:
|
||||||
NO_SKIP: true
|
NO_SKIP: true
|
||||||
run: |
|
run: |
|
||||||
cd sing-geoip || exit 1
|
cd sing-geoip || exit 1
|
||||||
sed -i 's/Dreamacro\/maxmind-geoip/xishang0128\/geoip/g' main.go
|
sed -i 's/Dreamacro\/maxmind-geoip/xishang0128\/geoip/g' main.go
|
||||||
go run -v .
|
go run -v .
|
||||||
mv geoip.db cn.db
|
mv geoip.db geoip-lite.db
|
||||||
|
|
||||||
- name: Build geoip.db
|
- name: Build geoip.db
|
||||||
env:
|
env:
|
||||||
@ -250,14 +250,14 @@ jobs:
|
|||||||
mkdir -p ./publish/
|
mkdir -p ./publish/
|
||||||
wget https://raw.githubusercontent.com/xishang0128/geoip/release/Country.mmdb -O ./publish/cn.mmdb
|
wget https://raw.githubusercontent.com/xishang0128/geoip/release/Country.mmdb -O ./publish/cn.mmdb
|
||||||
wget https://raw.githubusercontent.com/Loyalsoldier/geoip/release/Country.mmdb -O ./publish/country.mmdb
|
wget https://raw.githubusercontent.com/Loyalsoldier/geoip/release/Country.mmdb -O ./publish/country.mmdb
|
||||||
install -Dp ./cn.dat ./publish/
|
install -Dp ./geoip-lite.dat ./publish/
|
||||||
install -Dp ./geoip.dat ./publish/
|
install -Dp ./geoip.dat ./publish/
|
||||||
install -Dp ./custom/publish/geosite.dat ./publish/
|
install -Dp ./custom/publish/geosite.dat ./publish/
|
||||||
install -Dp ./sing-geosite/geosite.db ./publish/
|
install -Dp ./sing-geosite/geosite.db ./publish/
|
||||||
install -Dp ./community/geosite-lite.dat ./publish/
|
install -Dp ./community/geosite-lite.dat ./publish/
|
||||||
install -Dp ./sing-geosite/geosite-lite.db ./publish/
|
install -Dp ./sing-geosite/geosite-lite.db ./publish/
|
||||||
install -Dp ./sing-geoip/geoip.db ./publish/
|
install -Dp ./sing-geoip/geoip.db ./publish/
|
||||||
install -Dp ./sing-geoip/cn.db ./publish/
|
install -Dp ./sing-geoip/geoip-lite.db ./publish/
|
||||||
curl -sSL https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/ChinaMax/ChinaMax_Domain.yaml | sed '/^\s*#/d' > ./publish/cn_domain.yaml
|
curl -sSL https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/ChinaMax/ChinaMax_Domain.yaml | sed '/^\s*#/d' > ./publish/cn_domain.yaml
|
||||||
curl -sSL https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/Proxy/Proxy_Domain.yaml | sed '/^\s*#/d' > ./publish/proxy.yaml
|
curl -sSL https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/Proxy/Proxy_Domain.yaml | sed '/^\s*#/d' > ./publish/proxy.yaml
|
||||||
cd ./publish || exit 1
|
cd ./publish || exit 1
|
||||||
|
Loading…
Reference in New Issue
Block a user