mirror of
https://github.com/TG-Twilight/AWAvenue-Ads-Rule.git
synced 2025-11-04 14:49:47 +08:00
This commit is contained in:
parent
4e8e714f58
commit
f8fc942bf6
18
.github/workflows/build.yaml
vendored
18
.github/workflows/build.yaml
vendored
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user