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:
5
.github/workflows/android.yaml
vendored
5
.github/workflows/android.yaml
vendored
@@ -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:"
|
||||
|
||||
6
.github/workflows/ios.yaml
vendored
6
.github/workflows/ios.yaml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user