mirror of
https://github.com/Loyalsoldier/surge-rules.git
synced 2026-07-08 09:15:37 +08:00
Fix Surge for iOS not support DOMAIN-SET
This commit is contained in:
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@@ -1,4 +1,4 @@
|
||||
name: Generate DOMAIN-SET for Surge Mac 3
|
||||
name: Generate routing rules for Surge
|
||||
on:
|
||||
schedule:
|
||||
- cron: "30 22 * * *"
|
||||
@@ -65,7 +65,7 @@ jobs:
|
||||
|
||||
- name: Generate cncidr.txt file
|
||||
run: |
|
||||
curl -sSL ${ipipnet_chinaiplist} | perl -ne '/^(\d{1,3}(\.\d{1,3}){3}\/\d{1,2})/ && print "$1\n"' > cncidr.txt
|
||||
curl -sSL ${ipipnet_chinaiplist} | perl -ne '/^(\d{1,3}(\.\d{1,3}){3}\/\d{1,2})/ && print "IP-CIDR,$1\n"' > cncidr.txt
|
||||
curl -sSL ${ipipnet_chinaiplist} | perl -ne '/^(\d{1,3}(\.\d{1,3}){3}\/\d{1,2})/ && print "IP-CIDR,$1\n"' > ruleset/cncidr.txt
|
||||
|
||||
- name: Move files to publish directory
|
||||
|
||||
Reference in New Issue
Block a user