Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
DustinWin authored Feb 27, 2024
1 parent 88bd8bb commit 1b34224
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ jobs:
mkdir -p ./tmp/sing-box/rules/networktest/
# Download clash geodata
count1=$(curl -sSL ${networktest1} | grep 'include:' | wc -l)
curl -sSL ${networktest1} | grep -v '#' | sed '/^\s*$/d' > ./tmp/temp-networktest.txt
curl -sSL ${networktest1} | grep -Ev '#|include:' | sed '/^\s*$/d' > ./tmp/temp-networktest.txt
for((i=0;i<count1;i++)); do
archs1=$(curl -sSL ${networktest1} | grep 'include:' | sed 's/^include://g' | sed -n "$((i+1))p")
count2=$(curl -sSL "https://raw.githubusercontent.com/v2fly/domain-list-community/master/data/$archs1" | grep 'include:' | wc -l)
Expand Down

0 comments on commit 1b34224

Please sign in to comment.