Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuu518 authored Apr 30, 2024
1 parent 2590448 commit 0bf175c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +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/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
cat ip.txt | awk -F '|' '/CN/&&/ipv6/ {print $4 "/" $5}' >> data/cn
Expand Down

0 comments on commit 0bf175c

Please sign in to comment.