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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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