add mihomo mrs& add AWAvenue-list.txt
Some checks failed
build Rule / execute_python_script (push) Has been cancelled

This commit is contained in:
Elysia 2025-08-25 00:48:26 +08:00
parent 60a611509a
commit 58b2bf9a2b
No known key found for this signature in database
GPG Key ID: 0B5B67E3895175F9

View File

@ -30,6 +30,20 @@ jobs:
cp -Rf AWAvenue-Ads-Rule-Adblock.txt AWAvenue-Ads-Rule.txt #历史遗留问题
mv AWAvenue-Ads-Rule-* Filters/
- name: build mihomo mrs
run: |
cd build/out/Filters
wget -O ./mihomo.gz https://github.com/MetaCubeX/mihomo/releases/download/v1.19.12/mihomo-linux-amd64-v1.19.12.gz
gzip -d mihomo.gz
chmod +x mihomo
./mihomo convert-ruleset domain yaml AWAvenue-Ads-Rule-Clash.yaml AWAvenue-Ads-Rule-Clash.mrs
rm -rf *mihomo*
- name: Create AWAvenue-list.txt
run: |
cd build/out/Filters
ls | grep -v AWAvenue-list.txt > AWAvenue-list.txt
- name: Git push
run: |
git clone "https://${{ github.actor }}:${{ secrets.TOKEN }}@github.com/${{ github.repository }}" push