2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-12-03 18:59:50 +00:00

[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
2 changed files with 9 additions and 2 deletions

View File

@@ -3,6 +3,9 @@
name: Android
on:
pull_request:
branches:
- master
push:
branches:
- master
@@ -30,7 +33,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:"

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