Skip to content

Commit 97f5ab4

Browse files
authored
Update iplist-ir.yml
1 parent 8b62052 commit 97f5ab4

File tree

1 file changed

+28
-1
lines changed

1 file changed

+28
-1
lines changed

.github/workflows/iplist-ir.yml

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,34 @@ jobs:
6161
- name: Create config.json in geoip repo
6262
if: ${{ steps.get_release.outputs.tag != steps.read_last.outputs.last }}
6363
run: |
64-
echo "{"input":[{"type":"v2rayGeoIPDat","action":"add","args":{"uri":"./geoip.dat"}}],"output":[{"type":"text","action":"output","args":{"outputDir":"./","oneFilePerList":true,"wantedList":["ir"],"onlyIPType":"ipv4"}}]}" > geoip/config.json
64+
- name: Create config.json in geoip repo
65+
if: ${{ steps.get_release.outputs.tag != steps.read_last.outputs.last }}
66+
run: |
67+
cat <<'EOF' > geoip/config.json
68+
{
69+
"input": [
70+
{
71+
"type": "v2rayGeoIPDat",
72+
"action": "add",
73+
"args": {
74+
"uri": "./geoip.dat"
75+
}
76+
}
77+
],
78+
"output": [
79+
{
80+
"type": "text",
81+
"action": "output",
82+
"args": {
83+
"outputDir": "./",
84+
"oneFilePerList": true,
85+
"wantedList": ["ir"],
86+
"onlyIPType": "ipv4"
87+
}
88+
}
89+
]
90+
}
91+
EOF
6592
6693
- name: Download latest geoip.dat
6794
if: ${{ steps.get_release.outputs.tag != steps.read_last.outputs.last }}

0 commit comments

Comments
 (0)