diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8d495400..5077ebd0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -62,6 +62,11 @@ jobs: echo "TOTAL_IR_LITE=$(wc -l < ir-lite.txt)" >> $GITHUB_ENV mv ir.txt ir-lite.txt release + - name: Get cn tld list + run: | + curl -sSL https://raw.githubusercontent.com/Loyalsoldier/v2ray-rules-dat/release/direct-tld-list.txt -o cn.txt + mv cn.txt release + - name: Generate ads list run: | curl -sSL https://raw.githubusercontent.com/MasterKia/PersianBlocker/main/PersianBlockerHosts.txt | sed -e 's/^\(|\|\*\|\.\|\-\|0\.0\.0\.0\|127\.0\.0\.1\)*//g' -e 's/\^.*$//g' -e '/!\|?\|@\|#\|\*\|_\|\\\|\/\|\[\|]\|\[\|\([0-9]\{1,3\}\.\)\{3\}[0-9]\{1,3\}/d' -e '/\.$/d' -e '/^\s*$/d' | awk '{$1=$1};1' | dos2unix | idn2 --no-alabelroundtrip --no-tr46 | sort -u > ads.txt @@ -143,6 +148,7 @@ jobs: cp ../release/ir-lite.txt datalite/ir cp ../release/ads.txt data/ads cp ../release/ads.txt datalite/ads + cp ../release/cn.txt data/cn cp ../release/category-ads-all.txt data/category-ads-all cp ../release/malware.txt data/malware cp ../release/phishing.txt data/phishing