Skip to content

Commit dba0b1b

Browse files
authored
Update flutter_build.yml
1 parent e1f4792 commit dba0b1b

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

.github/workflows/flutter_build.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,23 @@ jobs:
2020
- name: Setup Flutter
2121
uses: subosito/flutter-action@v2
2222
with:
23-
channel: stable
24-
cache: true
23+
channel: stable
24+
cache: true
2525

2626
- name: Install dependencies
2727
run: flutter pub get
2828

2929
- name: Analyze code
3030
run: flutter analyze --no-fatal-infos
3131

32-
- name: Run tests
33-
run: flutter test
32+
33+
- name: Recreate Android folder
34+
run: |
35+
rm -rf android
36+
flutter create --platforms=android .
37+
38+
# - name: Run tests
39+
# run: flutter test
3440

3541
- name: Build release APK
3642
run: flutter build apk --release
@@ -39,4 +45,4 @@ jobs:
3945
uses: actions/upload-artifact@v4
4046
with:
4147
name: apkf-release
42-
path: build/app/outputs/flutter-apk/app-release.apk
48+
path: build/app/outputs/flutter-apk/app-release.apk

0 commit comments

Comments
 (0)