resource path

This commit is contained in:
ElonJunior 2025-01-20 00:11:56 +08:00
parent f0c873c48a
commit e1f7d37b13

View File

@ -31,9 +31,8 @@ jobs:
NO_SKIP: true NO_SKIP: true
run: | run: |
mkdir -p ./sing-rule/ACL4SSR/Ruleset mkdir -p ./sing-rule/ACL4SSR/Ruleset
cp ./workflow/resouces/convert_* ./sing-rule/ACL4SSR/ cd sing-rule || exit 1
cd sing-rule/ACL4SSR/ || exit 1 python ../workflow/resouces/convert_json.py ../ACL4SSR/Clash ./ACL4SSR
python convert_json.py ../../ACL4SSR/Clash ./
- name: Convert json to srs - name: Convert json to srs
env: env:
@ -41,8 +40,8 @@ jobs:
run: | run: |
cd sing-rule || exit 1 cd sing-rule || exit 1
wget -q https://github.com/SagerNet/sing-box/releases/download/v1.10.7/sing-box-1.10.7-linux-amd64.tar.gz -O sing-box.tar.gz && tar zxvf sing-box.tar.gz && mv sing-box-1.10.7-linux-amd64/sing-box ./ wget -q https://github.com/SagerNet/sing-box/releases/download/v1.10.7/sing-box-1.10.7-linux-amd64.tar.gz -O sing-box.tar.gz && tar zxvf sing-box.tar.gz && mv sing-box-1.10.7-linux-amd64/sing-box ./
chmod 755 sing-box ACL4SSR/convert_srs.sh && ./ACL4SSR/convert_srs.sh ./sing-box chmod 755 sing-box
rm -rf LICENSE README.md ACL4SSR/convert_* bash ../workflow/resouces/convert_srs.sh ./sing-box ./ACL4SSR
cp ./ACL4SSR/Ruleset/*.srs ./ACL4SSR cp ./ACL4SSR/Ruleset/*.srs ./ACL4SSR
- name: Checkout meta-rules-dat - name: Checkout meta-rules-dat