File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -497,10 +497,7 @@ jobs:
497497
498498 - name : Prepare converter
499499 run : |
500- LATEST_VERSION=$(curl -s https://api.github.com/repos/MetaCubeX/mihomo/releases/latest | jq -r .tag_name)
501- curl -L "https://github.com/MetaCubeX/mihomo/releases/download/${LATEST_VERSION}/mihomo-linux-amd64-${LATEST_VERSION}.gz" -o converter/mihomo.gz
502- gzip -d converter/mihomo.gz
503- chmod +x converter/mihomo
500+ chmod +x converter/bin
504501
505502 - name : Convert to MRS format
506503 run : |
@@ -518,7 +515,7 @@ jobs:
518515 input_dir="basic"
519516 ruleset_type="domain"
520517 fi
521- ./converter/mihomo convert-ruleset ${ruleset_type} yaml ${input_dir}/${file}.yaml publish/${file}.mrs
518+ ./converter/bin convert-ruleset ${ruleset_type} yaml ${input_dir}/${file}.yaml publish/${file}.mrs
522519 cp ${input_dir}/${file}.yaml publish/yaml/${file}.yaml
523520 done
524521 cp basic/applications.yaml publish/applications.yaml
You can’t perform that action at this time.
0 commit comments