移除非必要格式
Some checks failed
build Rule / execute_python_script (push) Has been cancelled

This commit is contained in:
Elysia 2025-08-20 11:09:38 +08:00
parent 4e8e714f58
commit f8fc942bf6
No known key found for this signature in database
GPG Key ID: 0B5B67E3895175F9

View File

@ -30,24 +30,6 @@ jobs:
cp -Rf AWAvenue-Ads-Rule-Adblock.txt AWAvenue-Ads-Rule.txt #历史遗留问题
mv AWAvenue-Ads-Rule-* Filters/
- name: build singbox mrs
run: |
cd build/out/Filters
wget -O ./sing-box.tar.gz https://github.com/SagerNet/sing-box/releases/download/v1.11.15/sing-box-1.11.15-linux-amd64.tar.gz
tar -xzvf sing-box.tar.gz
chmod +x */sing-box
./*/sing-box rule-set compile AWAvenue-Ads-Rule-Singbox.json
rm -rf *sing-box*
- 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: Git push
run: |
git clone "https://${{ github.actor }}:${{ secrets.TOKEN }}@github.com/${{ github.repository }}" push