mirror of
https://github.com/Loyalsoldier/v2ray-rules-dat.git
synced 2024-11-10 15:05:38 +08:00
Update build.yml
This commit is contained in:
parent
14291ab514
commit
3368ff3ce4
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -38,6 +38,7 @@ jobs:
|
|||||||
echo "::set-env name=GEQ1AN_RULES_REJECT_URL::https://raw.githubusercontent.com/GeQ1an/Rules/master/QuantumultX/Filter/AdBlock.list"
|
echo "::set-env name=GEQ1AN_RULES_REJECT_URL::https://raw.githubusercontent.com/GeQ1an/Rules/master/QuantumultX/Filter/AdBlock.list"
|
||||||
echo "::set-env name=LHIE1_RULES_PROXY_URL::https://raw.githubusercontent.com/lhie1/Rules/master/Surge/Surge%203/Provider/Proxy.list"
|
echo "::set-env name=LHIE1_RULES_PROXY_URL::https://raw.githubusercontent.com/lhie1/Rules/master/Surge/Surge%203/Provider/Proxy.list"
|
||||||
echo "::set-env name=LHIE1_RULES_REJECT_URL::https://raw.githubusercontent.com/lhie1/Rules/master/Surge/Surge%203/Provider/Reject.list"
|
echo "::set-env name=LHIE1_RULES_REJECT_URL::https://raw.githubusercontent.com/lhie1/Rules/master/Surge/Surge%203/Provider/Reject.list"
|
||||||
|
echo "::set-env name=ICN_RULES_REJECT_URL::https://raw.githubusercontent.com/IceCodeNew/4Share/master/DNSCrypt/domain-based-blacklist.txt"
|
||||||
echo "::set-env name=GOPATH::$(dirname $GITHUB_WORKSPACE)"
|
echo "::set-env name=GOPATH::$(dirname $GITHUB_WORKSPACE)"
|
||||||
echo "::add-path::$(dirname $GITHUB_WORKSPACE)/bin"
|
echo "::add-path::$(dirname $GITHUB_WORKSPACE)/bin"
|
||||||
shell: bash
|
shell: bash
|
||||||
@ -94,6 +95,7 @@ jobs:
|
|||||||
cat proxy.txt >> temp-proxy.txt
|
cat proxy.txt >> temp-proxy.txt
|
||||||
cat direct.txt >> temp-direct.txt
|
cat direct.txt >> temp-direct.txt
|
||||||
cat reject.txt >> temp-reject.txt
|
cat reject.txt >> temp-reject.txt
|
||||||
|
curl -sSL $ICN_RULES_REJECT_URL | sed -E '/^#|^$/d' >> temp-reject.txt
|
||||||
|
|
||||||
- name: Sort and generate redundant lists
|
- name: Sort and generate redundant lists
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
Reference in New Issue
Block a user