|
22 | 22 | required: true
|
23 | 23 | default: release
|
24 | 24 | type: choice
|
25 |
| - options: [release, debug] |
| 25 | + options: [ release, debug ] |
26 | 26 | flavor:
|
27 | 27 | description: 'Target flavor:'
|
28 | 28 | required: true
|
29 | 29 | default: staging
|
30 | 30 | type: choice
|
31 |
| - options: [development, staging, production] |
| 31 | + options: [ development, staging, production ] |
32 | 32 |
|
33 | 33 | jobs:
|
34 | 34 | setup:
|
|
76 | 76 | echo "🚫 Error: Deployment to store, ios_store, or android_store is only allowed for 'release' build type."
|
77 | 77 | exit 1
|
78 | 78 | fi
|
79 |
| - |
| 79 | +
|
80 | 80 | - name: Fetch anti-phishing lists
|
81 | 81 | run: |
|
82 | 82 | curl -s https://raw.githubusercontent.com/broxus/ever-wallet-anti-phishing/master/blacklist.json \
|
|
92 | 92 | > anti_phishing.json
|
93 | 93 |
|
94 | 94 | - name: Upload anti-phishing file
|
95 |
| - uses: actions/upload-artifact@v3 |
| 95 | + uses: actions/upload-artifact@v4 |
96 | 96 | with:
|
97 | 97 | name: anti-phishing-json
|
98 | 98 | path: anti_phishing.json
|
@@ -179,9 +179,7 @@ jobs:
|
179 | 179 | uses: actions/download-artifact@v4
|
180 | 180 | with:
|
181 | 181 | name: anti-phishing-json
|
182 |
| - |
183 |
| - - name: Replace anti-phishing file |
184 |
| - run: mv anti_phishing.json assets/config/anti_phishing.json |
| 182 | + path: assets/config |
185 | 183 |
|
186 | 184 | - name: Setup Flutter
|
187 | 185 | uses: subosito/flutter-action@v2
|
@@ -281,9 +279,7 @@ jobs:
|
281 | 279 | uses: actions/download-artifact@v4
|
282 | 280 | with:
|
283 | 281 | name: anti-phishing-json
|
284 |
| - |
285 |
| - - name: Replace anti-phishing file |
286 |
| - run: mv anti_phishing.json assets/config/anti_phishing.json |
| 282 | + path: assets/config |
287 | 283 |
|
288 | 284 | - name: Setup Flutter
|
289 | 285 | uses: subosito/flutter-action@v2
|
|
0 commit comments