Skip to content

Commit e260ac8

Browse files
committed
EWM-497. actions/upload-artifact v4
1 parent e9ed123 commit e260ac8

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

.github/workflows/app-deploy.yaml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ on:
2222
required: true
2323
default: release
2424
type: choice
25-
options: [release, debug]
25+
options: [ release, debug ]
2626
flavor:
2727
description: 'Target flavor:'
2828
required: true
2929
default: staging
3030
type: choice
31-
options: [development, staging, production]
31+
options: [ development, staging, production ]
3232

3333
jobs:
3434
setup:
@@ -76,7 +76,7 @@ jobs:
7676
echo "🚫 Error: Deployment to store, ios_store, or android_store is only allowed for 'release' build type."
7777
exit 1
7878
fi
79-
79+
8080
- name: Fetch anti-phishing lists
8181
run: |
8282
curl -s https://raw.githubusercontent.com/broxus/ever-wallet-anti-phishing/master/blacklist.json \
@@ -92,7 +92,7 @@ jobs:
9292
> anti_phishing.json
9393
9494
- name: Upload anti-phishing file
95-
uses: actions/upload-artifact@v3
95+
uses: actions/upload-artifact@v4
9696
with:
9797
name: anti-phishing-json
9898
path: anti_phishing.json
@@ -179,9 +179,7 @@ jobs:
179179
uses: actions/download-artifact@v4
180180
with:
181181
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
185183

186184
- name: Setup Flutter
187185
uses: subosito/flutter-action@v2
@@ -281,9 +279,7 @@ jobs:
281279
uses: actions/download-artifact@v4
282280
with:
283281
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
287283

288284
- name: Setup Flutter
289285
uses: subosito/flutter-action@v2

0 commit comments

Comments
 (0)