mirror of
https://github.com/MetaCubeX/meta-rules-dat.git
synced 2024-11-23 08:15:42 +08:00
add asn
This commit is contained in:
parent
d5af68f592
commit
9c2b3805e8
10
.github/workflows/run.yml
vendored
10
.github/workflows/run.yml
vendored
@ -256,6 +256,16 @@ jobs:
|
||||
go run ./ geosite -f ../community/geosite-lite.dat -o ../meta-rule/geo-lite/geosite
|
||||
go run ./ geoip -f ../geoip-lite.dat -o ../meta-rule/geo-lite/geoip
|
||||
|
||||
- name: Convert asn
|
||||
env:
|
||||
NO_SKIP: true
|
||||
run: |
|
||||
mkdir -p meta-rule/asn && mkdir -p sing-rule/asn
|
||||
cd convert
|
||||
wget https://raw.githubusercontent.com/xishang0128/geoip/release/GeoLite2-ASN.mmdb
|
||||
go run ./ asn -o ../meta-rule/asn
|
||||
go run ./ asn -o ../sing-rule/asn -t sing-box
|
||||
|
||||
# - name: Convert bm7-rule-set to sing-rule-set
|
||||
# env:
|
||||
# NO_SKIP: true
|
||||
|
Loading…
Reference in New Issue
Block a user