[CI] Build Fixes (#734)

* precache for ios build

* build android on push too

* try without cache
This commit is contained in:
Oliver 2025-11-24 09:10:59 +11:00 committed by GitHub
parent 7283c07b76
commit 0f31638bdc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 9 additions and 2 deletions

View file

@ -3,6 +3,9 @@
name: iOS
on:
pull_request:
branches:
- master
push:
branches:
- master
@ -33,7 +36,7 @@ jobs:
with:
flutter-version: ${{ steps.fvm-config-action.outputs.FLUTTER_VERSION }}
channel: ${{ steps.fvm-config-action.outputs.FLUTTER_CHANNEL }}
cache: true
cache: false
cache-key: "flutter-:os:-:channel:-:version:-:arch:-:hash:"
cache-path: "${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:"
pub-cache-key: "flutter-pub:os:-:channel:-:version:-:arch:-:hash:"
@ -49,6 +52,7 @@ jobs:
dart pub global activate fvm
fvm install
fvm flutter pub get
fvm flutter precache --ios
cd ios
pod repo update
pod install