mirror of
https://github.com/TG-Twilight/AWAvenue-Ads-Rule.git
synced 2025-11-04 14:49:47 +08:00
add mihomo mrs& add AWAvenue-list.txt
Some checks failed
build Rule / execute_python_script (push) Has been cancelled
Some checks failed
build Rule / execute_python_script (push) Has been cancelled
This commit is contained in:
parent
60a611509a
commit
58b2bf9a2b
14
.github/workflows/build.yaml
vendored
14
.github/workflows/build.yaml
vendored
@ -30,6 +30,20 @@ jobs:
|
|||||||
cp -Rf AWAvenue-Ads-Rule-Adblock.txt AWAvenue-Ads-Rule.txt #历史遗留问题
|
cp -Rf AWAvenue-Ads-Rule-Adblock.txt AWAvenue-Ads-Rule.txt #历史遗留问题
|
||||||
mv AWAvenue-Ads-Rule-* Filters/
|
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
|
- name: Git push
|
||||||
run: |
|
run: |
|
||||||
git clone "https://${{ github.actor }}:${{ secrets.TOKEN }}@github.com/${{ github.repository }}" push
|
git clone "https://${{ github.actor }}:${{ secrets.TOKEN }}@github.com/${{ github.repository }}" push
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user