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:
6
.github/workflows/android.yaml
vendored
6
.github/workflows/android.yaml
vendored
@@ -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
|
||||
|
6
.github/workflows/ios.yaml
vendored
6
.github/workflows/ios.yaml
vendored
@@ -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
|
||||
|
Reference in New Issue
Block a user