File tree Expand file tree Collapse file tree 3 files changed +25
-2
lines changed
appflowy_flutter/android/app Expand file tree Collapse file tree 3 files changed +25
-2
lines changed Original file line number Diff line number Diff line change 7373 ndk-version : " r24"
7474 add-to-path : true
7575
76+ - uses : gradle/gradle-build-action@v2
77+ with :
78+ gradle-version : 7.6.3
79+
7680 - uses : Swatinem/rust-cache@v2
7781 with :
7882 prefix-key : ${{ matrix.os }}
@@ -110,4 +114,4 @@ jobs:
110114 env :
111115 ANDROID_NDK_HOME : ${{ steps.setup-ndk.outputs.ndk-path }}
112116 run : |
113- cargo make --profile development-android appflowy-android-dev
117+ cargo make --profile development-android appflowy-android-dev-ci
Original file line number Diff line number Diff line change @@ -74,7 +74,9 @@ android {
7474 }
7575 buildTypes {
7676 release {
77- signingConfig signingConfigs. release
77+ // use release instead when publishing the application to google play.
78+ // signingConfig signingConfigs.release
79+ signingConfig signingConfigs. debug
7880 }
7981 }
8082
Original file line number Diff line number Diff line change @@ -85,6 +85,15 @@ run_task = { name = [
8585] }
8686script_runner = " @shell"
8787
88+ [tasks .appflowy-android-dev-ci ]
89+ dependencies = [" appflowy-core-dev-android" ]
90+ run_task = { name = [
91+ " code_generation" ,
92+ " set-app-version" ,
93+ " flutter-build-android" ,
94+ ] }
95+ script_runner = " @shell"
96+
8897[tasks .appflowy-macos-dev ]
8998dependencies = [" appflowy-core-dev" ]
9099run_task = { name = [
@@ -270,6 +279,14 @@ script = ["""
270279 """ ]
271280script_runner = " @shell"
272281
282+ [tasks .flutter-build-android-ci ]
283+ script = ["""
284+ cd appflowy_flutter/
285+ flutter pub get
286+ flutter build apk --debug
287+ """ ]
288+ script_runner = " @shell"
289+
273290[tasks .flutter-build .windows ]
274291script = [
275292 """
You can’t perform that action at this time.
0 commit comments