@@ -79,23 +79,18 @@ jobs:
7979
8080 - name : Fetch anti-phishing lists
8181 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://…/blacklist.json -o /tmp/blacklist1.json
83+ curl -s https://…/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
9388
9489 - name : Upload anti-phishing file
9590 uses : actions/upload-artifact@v4
9691 with :
9792 name : anti-phishing-json
98- path : anti_phishing.json
93+ path : assets/config/ anti_phishing.json
9994
10095 - name : Read Flutter version
10196 id : read_flutter
@@ -175,11 +170,15 @@ jobs:
175170 echo "ios_target is set to = ${{ env.ios_target }}"
176171 echo "build_mode is set to = ${{ inputs.build_mode }}"
177172
173+ - name : Remove default anti_phishing.json
174+ run : |
175+ rm -f assets/config/anti_phishing.json
176+
178177 - name : Download anti-phishing file
179178 uses : actions/download-artifact@v4
180179 with :
181180 name : anti-phishing-json
182- path : assets/config
181+ path : .
183182
184183 - name : Setup Flutter
185184 uses : subosito/flutter-action@v2
@@ -275,11 +274,15 @@ jobs:
275274 echo "android_target is set to = ${{ env.android_target }}"
276275 echo "build_mode is set to = ${{ inputs.build_mode }}"
277276
277+ - name : Remove default anti_phishing.json
278+ run : |
279+ rm -f assets/config/anti_phishing.json
280+
278281 - name : Download anti-phishing file
279282 uses : actions/download-artifact@v4
280283 with :
281284 name : anti-phishing-json
282- path : assets/config
285+ path : .
283286
284287 - name : Setup Flutter
285288 uses : subosito/flutter-action@v2
0 commit comments