mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
fix: mobile ci (#4232)
This commit is contained in:
parent
43a3a1e4b2
commit
d57b61b213
6
.github/workflows/mobile_ci.yaml
vendored
6
.github/workflows/mobile_ci.yaml
vendored
@ -73,6 +73,10 @@ jobs:
|
||||
ndk-version: "r24"
|
||||
add-to-path: true
|
||||
|
||||
- uses: gradle/gradle-build-action@v2
|
||||
with:
|
||||
gradle-version: 7.6.3
|
||||
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
prefix-key: ${{ matrix.os }}
|
||||
@ -110,4 +114,4 @@ jobs:
|
||||
env:
|
||||
ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }}
|
||||
run: |
|
||||
cargo make --profile development-android appflowy-android-dev
|
||||
cargo make --profile development-android appflowy-android-dev-ci
|
||||
|
@ -74,7 +74,9 @@ android {
|
||||
}
|
||||
buildTypes {
|
||||
release {
|
||||
signingConfig signingConfigs.release
|
||||
// use release instead when publishing the application to google play.
|
||||
// signingConfig signingConfigs.release
|
||||
signingConfig signingConfigs.debug
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -85,6 +85,15 @@ run_task = { name = [
|
||||
] }
|
||||
script_runner = "@shell"
|
||||
|
||||
[tasks.appflowy-android-dev-ci]
|
||||
dependencies = ["appflowy-core-dev-android"]
|
||||
run_task = { name = [
|
||||
"code_generation",
|
||||
"set-app-version",
|
||||
"flutter-build-android",
|
||||
] }
|
||||
script_runner = "@shell"
|
||||
|
||||
[tasks.appflowy-macos-dev]
|
||||
dependencies = ["appflowy-core-dev"]
|
||||
run_task = { name = [
|
||||
@ -270,6 +279,14 @@ script = ["""
|
||||
"""]
|
||||
script_runner = "@shell"
|
||||
|
||||
[tasks.flutter-build-android-ci]
|
||||
script = ["""
|
||||
cd appflowy_flutter/
|
||||
flutter pub get
|
||||
flutter build apk --debug
|
||||
"""]
|
||||
script_runner = "@shell"
|
||||
|
||||
[tasks.flutter-build.windows]
|
||||
script = [
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user