mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 03:26:24 +00:00
Use fvm for building workflows (#694)
This commit is contained in:
parent
bdc5573311
commit
1407d8bc37
2 changed files with 8 additions and 4 deletions
6
.github/workflows/android.yaml
vendored
6
.github/workflows/android.yaml
vendored
|
|
@ -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
|
||||||
|
|
|
||||||
6
.github/workflows/ios.yaml
vendored
6
.github/workflows/ios.yaml
vendored
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue