From 1407d8bc37710af51c8a7adbd34acd5362239c3d Mon Sep 17 00:00:00 2001 From: Oliver Date: Sun, 28 Sep 2025 16:47:39 +1000 Subject: [PATCH] Use fvm for building workflows (#694) --- .github/workflows/android.yaml | 6 ++++-- .github/workflows/ios.yaml | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/android.yaml b/.github/workflows/android.yaml index 117c9a85..9f30b481 100644 --- a/.github/workflows/android.yaml +++ b/.github/workflows/android.yaml @@ -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 diff --git a/.github/workflows/ios.yaml b/.github/workflows/ios.yaml index 53e8a301..724fa570 100644 --- a/.github/workflows/ios.yaml +++ b/.github/workflows/ios.yaml @@ -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