diff --git a/.github/workflows/build-net.yml b/.github/workflows/build-net.yml index 2810273e..6487eb09 100644 --- a/.github/workflows/build-net.yml +++ b/.github/workflows/build-net.yml @@ -37,18 +37,6 @@ jobs: repository: loyalsoldier/v2ray-rules-dat ref: release path: ref2 - - name: Checkout reference branch 3 - uses: actions/checkout@v4 - with: - repository: vfarid/cf-ip-scanner - ref: main - path: ref3 - - name: Checkout reference branch 4 - uses: actions/checkout@v4 - with: - repository: XIU2/CloudflareSpeedTest - ref: master - path: ref4 - name: Checkout target branch uses: actions/checkout@v4 with: @@ -80,9 +68,12 @@ jobs: ./netgen.py 0.0.0.0/0 -e private4.txt target/china4.txt -o target/foreign4.txt ./netgen.py ::/0 -e private6.txt target/china6.txt -o target/foreign6.txt + + curl -fsSL https://www.cloudflare.com/ips-v4 -o cf4.txt + curl -fsSL https://www.cloudflare.com/ips-v6 -o cf6.txt - ./netgen.py ref3/ipv4.txt -o target/cf4.txt - ./netgen.py ref4/ipv6.txt -o target/cf6.txt + ./netgen.py cf4.txt -o target/cf4.txt + ./netgen.py cf6.txt -o target/cf6.txt ./netgen.py private4.txt -o target/private4.txt ./netgen.py private6.txt -o target/private6.txt