Skip to content
/ rfm Public

Commit 056bae3

Browse files
committed
Update build-and-publish.yml
1 parent 5937918 commit 056bae3

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/build-and-publish.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)