Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuu518 committed Apr 30, 2024
1 parent c0a68fb commit 2590448
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@ jobs:
curl -sSL https://api.fastly.com/public-ip-list | jq --raw-output '.addresses[],.ipv6_addresses[]' >> data/fastly
curl -sSL https://ip-ranges.amazonaws.com/ip-ranges.json | jq --raw-output '.prefixes[],.ipv6_prefixes[] | select(.service == "CLOUDFRONT") | .ip_prefix,.ipv6_prefix' | grep "/" >> data/cloudfront
curl -sSL https://ip-ranges.amazonaws.com/ip-ranges.json | jq --raw-output '.prefixes[],.ipv6_prefixes[] | select(.service == "CLOUDFRONT") | .ip_prefix,.ipv6_prefix' | grep "/" >> data/cloudfront
curl -sSL https://github.com/luestr/ProxyResource/raw/main/Tool/Loon/Rule/TelegramUS.list | perl -ne 'print "$1\n" if /^(?:\s*# )?(IP-CIDR(?:6)?, \S+)/' | sed 's/IP-CIDR, //g' | sed 's/IP-CIDR6, //g' | sed 's/,//g' > data/telegramus
curl -sSL https://github.com/luestr/ProxyResource/raw/main/Tool/Loon/Rule/TelegramSG.list | perl -ne 'print "$1\n" if /^(?:\s*# )?(IP-CIDR(?:6)?, \S+)/' | sed 's/IP-CIDR, //g' | sed 's/IP-CIDR6, //g' | sed 's/,//g' > data/telegramsg
curl -sSL https://github.com/luestr/ProxyResource/raw/main/Tool/Loon/Rule/TelegramNL.list | perl -ne 'print "$1\n" if /^(?:\s*# )?(IP-CIDR(?:6)?, \S+)/' | sed 's/IP-CIDR, //g' | sed 's/IP-CIDR6, //g'| sed 's/,//g' | sed 's/149\.154\.160\.0\/21/149\.154\.160\.0\/20/g' > data/telegramnl
curl -sSL https://github.com/luestr/ProxyResource/raw/main/Tool/Loon/Rule/TelegramALL.list | perl -ne 'print "$1\n" if /^(?:\s*# )?(IP-CIDR(?:6)?, \S+)/' | sed 's/IP-CIDR, //g' | sed 's/IP-CIDR6, //g'| sed 's/,//g' | sed 's/149\.154\.160\.0\/21/149\.154\.160\.0\/20/g' >> data/telegram
curl -sSL https://ftp.apnic.net/apnic/stats/apnic/delegated-apnic-latest >> ip.txt
cat ip.txt | awk -F '|' '/CN/&&/ipv4/ {print $4 "/" 32-log($5)/log(2)}' > data/cn
Expand Down

0 comments on commit 2590448

Please sign in to comment.