mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 03:26:24 +00:00
[CI] Build Fixes (#734)
* precache for ios build * build android on push too * try without cache
This commit is contained in:
parent
7283c07b76
commit
0f31638bdc
2 changed files with 9 additions and 2 deletions
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue