2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-10-14 05:12:21 +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 - name: Build for Android
run: | run: |
flutter pub get dart pub global activate fvm
flutter build apk --debug fvm install
fvm flutter pub get
fvm flutter build apk --debug

View File

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