2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-10-13 21:02:19 +00:00

Use fvm for building workflows (#694)

This commit is contained in:
Oliver
2025-09-28 16:47:39 +10:00
committed by GitHub
parent bdc5573311
commit 1407d8bc37
2 changed files with 8 additions and 4 deletions

View File

@@ -50,5 +50,7 @@ jobs:
- name: Build for Android
run: |
flutter pub get
flutter build apk --debug
dart pub global activate fvm
fvm install
fvm flutter pub get
fvm flutter build apk --debug

View File

@@ -46,9 +46,11 @@ jobs:
- name: Build for iOS
run: |
flutter pub get
dart pub global activate fvm
fvm install
fvm flutter pub get
cd ios
pod repo update
pod install
cd ..
flutter build ios --release --no-codesign --no-tree-shake-icons
fvm flutter build ios --release --no-codesign --no-tree-shake-icons