@@ -79,17 +79,12 @@ jobs:
79
79
80
80
- name : Fetch anti-phishing lists
81
81
run : |
82
- curl -s https://raw.githubusercontent.com/broxus/ever-wallet-anti-phishing/master/blacklist.json \
83
- -o /tmp/blacklist1.json
84
- curl -s https://raw.githubusercontent.com/MetaMask/eth-phishing-detect/refs/heads/main/src/config.json \
85
- -o /tmp/config.json
86
-
87
- jq -s '
88
- (.[0] + .[1].blacklist)
89
- | unique
90
- | { blacklist: . }
91
- ' /tmp/blacklist1.json /tmp/config.json \
92
- > anti_phishing.json
82
+ curl -s https://raw.githubusercontent.com/broxus/ever-wallet-anti-phishing/master/blacklist.json -o /tmp/blacklist1.json
83
+ curl -s https://raw.githubusercontent.com/MetaMask/eth-phishing-detect/refs/heads/main/src/config.json -o /tmp/config.json
84
+ mkdir -p assets/config
85
+ jq -s '(.[0] + .[1].blacklist) | unique | { blacklist: . }' \
86
+ /tmp/blacklist1.json /tmp/config.json \
87
+ > assets/config/anti_phishing.json
93
88
94
89
- name : Upload anti-phishing file
95
90
uses : actions/upload-artifact@v4
@@ -175,6 +170,10 @@ jobs:
175
170
echo "ios_target is set to = ${{ env.ios_target }}"
176
171
echo "build_mode is set to = ${{ inputs.build_mode }}"
177
172
173
+ - name : Remove default anti_phishing.json
174
+ run : |
175
+ rm -f assets/config/anti_phishing.json
176
+
178
177
- name : Download anti-phishing file
179
178
uses : actions/download-artifact@v4
180
179
with :
@@ -275,6 +274,10 @@ jobs:
275
274
echo "android_target is set to = ${{ env.android_target }}"
276
275
echo "build_mode is set to = ${{ inputs.build_mode }}"
277
276
277
+ - name : Remove default anti_phishing.json
278
+ run : |
279
+ rm -f assets/config/anti_phishing.json
280
+
278
281
- name : Download anti-phishing file
279
282
uses : actions/download-artifact@v4
280
283
with :
0 commit comments