srs ACL4SSR

This commit is contained in:
ElonJunior 2024-05-29 18:52:23 +08:00
parent 528dca222d
commit fc1320eb3c

View File

@ -34,7 +34,6 @@ jobs:
cp ./workflow/resouces/convert_* ./sing-rule/ACL4SSR/ cp ./workflow/resouces/convert_* ./sing-rule/ACL4SSR/
cd sing-rule/ACL4SSR/ || exit 1 cd sing-rule/ACL4SSR/ || exit 1
python convert_json.py ../../ACL4SSR/Clash ./ python convert_json.py ../../ACL4SSR/Clash ./
cp Ruleset/*.srs ./
- name: Convert json to srs - name: Convert json to srs
env: env:
@ -44,6 +43,7 @@ jobs:
wget -q https://github.com/SagerNet/sing-box/releases/download/v1.8.12/sing-box-1.8.12-linux-amd64.tar.gz -O sing-box.tar.gz && tar zxvf sing-box.tar.gz && mv sing-box-1.8.12-linux-amd64/sing-box ./ wget -q https://github.com/SagerNet/sing-box/releases/download/v1.8.12/sing-box-1.8.12-linux-amd64.tar.gz -O sing-box.tar.gz && tar zxvf sing-box.tar.gz && mv sing-box-1.8.12-linux-amd64/sing-box ./
chmod 755 sing-box ACL4SSR/convert_srs.sh && ./ACL4SSR/convert_srs.sh ./sing-box chmod 755 sing-box ACL4SSR/convert_srs.sh && ./ACL4SSR/convert_srs.sh ./sing-box
rm -rf sing-box* LICENSE README.md ACL4SSR/convert_* rm -rf sing-box* LICENSE README.md ACL4SSR/convert_*
cp ./ACL4SSR/Ruleset/*.srs ./ACL4SSR
- name: Checkout meta-rules-dat - name: Checkout meta-rules-dat
uses: actions/checkout@v4 uses: actions/checkout@v4