mirror of
https://github.com/MetaCubeX/meta-rules-dat.git
synced 2024-12-27 19:04:15 +08:00
commit
abfe1c2f0b
15
.github/workflows/run.yml
vendored
15
.github/workflows/run.yml
vendored
@ -187,40 +187,31 @@ jobs:
|
||||
mkdir -p data-lite
|
||||
curl -sSL https://raw.githubusercontent.com/xishang0128/rules/main/biliintl.list > ./data-lite/biliintl
|
||||
curl -sSL https://github.com/v2fly/domain-list-community/raw/master/data/ehentai > ./data-lite/ehentai
|
||||
|
||||
curl -sSL https://github.com/v2fly/domain-list-community/raw/master/data/private > ./data-lite/private
|
||||
|
||||
curl -sSL https://github.com/blackmatrix7/ios_rule_script/raw/master/rule/Clash/AbemaTV/AbemaTV.yaml | ${{ env.SED }} > ./data-lite/abema
|
||||
curl -sSL https://github.com/blackmatrix7/ios_rule_script/raw/master/rule/Clash/Apple/Apple_Classical.yaml | ${{ env.SED }} > ./data-lite/apple
|
||||
curl -sSL https://github.com/blackmatrix7/ios_rule_script/raw/master/rule/Clash/AppleMusic/AppleMusic.yaml | ${{ env.SED }} > ./data-lite/applemusic
|
||||
|
||||
curl -sSL https://github.com/blackmatrix7/ios_rule_script/raw/master/rule/Clash/BiliBili/BiliBili.yaml | ${{ env.SED }} > ./data-lite/bilibili
|
||||
curl -sSL https://github.com/blackmatrix7/ios_rule_script/raw/master/rule/Clash/Bahamut/Bahamut.yaml | ${{ env.SED }} > ./data-lite/bahamut
|
||||
|
||||
curl https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/China/China_Domain.yaml | grep - | sed "s/ - '+.//g" | sed "s/ - '/full:/g" | grep -v "#" | sed "s/'//g" > ./data-lite/cn
|
||||
|
||||
curl -sSL https://github.com/blackmatrix7/ios_rule_script/raw/master/rule/Clash/Google/Google.yaml | ${{ env.SED }} > ./data-lite/google
|
||||
curl -sSL https://github.com/blackmatrix7/ios_rule_script/raw/master/rule/Clash/GitHub/GitHub.yaml | ${{ env.SED }} > ./data-lite/github
|
||||
|
||||
curl -sSL https://github.com/blackmatrix7/ios_rule_script/raw/master/rule/Clash/Microsoft/Microsoft.yaml | ${{ env.SED }} > ./data-lite/microsoft
|
||||
|
||||
curl -sSL https://github.com/blackmatrix7/ios_rule_script/raw/master/rule/Clash/Netflix/Netflix.yaml | ${{ env.SED }} > ./data-lite/netflix
|
||||
|
||||
curl -sSL https://github.com/blackmatrix7/ios_rule_script/raw/master/rule/Clash/OpenAI/OpenAI.yaml | ${{ env.SED }} > ./data-lite/openai
|
||||
curl -sSL https://github.com/blackmatrix7/ios_rule_script/raw/master/rule/Clash/OneDrive/OneDrive.yaml | ${{ env.SED }} > ./data-lite/onedrive
|
||||
|
||||
curl -sSL https://github.com/blackmatrix7/ios_rule_script/raw/master/rule/Clash/Pixiv/Pixiv.yaml | ${{ env.SED }} > ./data-lite/pixiv
|
||||
curl -sSL https://github.com/blackmatrix7/ios_rule_script/raw/master/rule/Clash/ProxyLite/ProxyLite.yaml | ${{ env.SED }} > ./data-lite/proxy
|
||||
|
||||
curl -sSL https://github.com/blackmatrix7/ios_rule_script/raw/master/rule/Clash/Spotify/Spotify.yaml | ${{ env.SED }} > ./data-lite/spotify
|
||||
|
||||
curl -sSL https://github.com/blackmatrix7/ios_rule_script/raw/master/rule/Clash/Telegram/Telegram.yaml | ${{ env.SED }} > ./data-lite/telegram
|
||||
curl -sSL https://github.com/blackmatrix7/ios_rule_script/raw/master/rule/Clash/Twitter/Twitter.yaml | ${{ env.SED }} > ./data-lite/twitter
|
||||
curl -sSL https://github.com/blackmatrix7/ios_rule_script/raw/master/rule/Clash/TikTok/TikTok.yaml | ${{ env.SED }} > ./data-lite/tiktok
|
||||
|
||||
curl -sSL https://github.com/blackmatrix7/ios_rule_script/raw/master/rule/Clash/YouTube/YouTube.yaml | ${{ env.SED }} > ./data-lite/youtube
|
||||
|
||||
echo include:google >> ./data-lite/proxy && echo include:github >> ./data-lite/proxy && echo include:netflix >> ./data-lite/proxy
|
||||
echo ipleak.net >> ./data-lite/proxy && echo browserleaks.org >> ./data-lite/proxy
|
||||
|
||||
go run ./ --datapath=./data-lite --outputname geosite-lite.dat
|
||||
|
||||
- name: Get geoip.dat relative files
|
||||
@ -240,7 +231,6 @@ jobs:
|
||||
./v2box migrate geosite -i ../community/geosite-lite.dat -o ./geosite-lite.db
|
||||
./v2box migrate geoip -i ../geoip.dat -o ./geoip.db
|
||||
./v2box migrate geoip -i ../geoip-lite.dat -o ./geoip-lite.db
|
||||
|
||||
- name: Move and zip files
|
||||
run: |
|
||||
mkdir -p ./publish/
|
||||
@ -250,7 +240,6 @@ jobs:
|
||||
install -Dp ./geoip.dat ./publish/
|
||||
install -Dp ./custom/publish/geosite.dat ./publish/
|
||||
install -Dp ./community/geosite-lite.dat ./publish/
|
||||
|
||||
install -Dp ./v2box/geosite.db ./publish/
|
||||
install -Dp ./v2box/geosite-lite.db ./publish/
|
||||
install -Dp ./v2box/geoip.db ./publish/
|
||||
|
Loading…
x
Reference in New Issue
Block a user