File tree 2 files changed +10
-1
lines changed
2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,10 @@ parameters:
9
9
description : The build type to build. This is normally either "debug" or "release" but you may have custom build types configured for your app.
10
10
type : string
11
11
default : " debug"
12
+ test_build_type :
13
+ description : The test build type to build. This is normally either "debug" or "release" but you may have custom build types configured for your app.
14
+ type : string
15
+ default : " debug"
12
16
cache :
13
17
description : Save and restore the caches? Defaults to true
14
18
type : boolean
73
77
74
78
- run :
75
79
name : Build Android APK
76
- command : " cd <<parameters.project_path>> && chmod +x gradlew && ./gradlew --build-cache --max-workers 2 --continue assemble<<parameters.build_type>> <<parameters.assemble_android_test>> -DtestBuildType=<<parameters.build_type >> --stacktrace"
80
+ command : " cd <<parameters.project_path>> && chmod +x gradlew && ./gradlew --build-cache --max-workers 2 --continue assemble<<parameters.build_type>> <<parameters.assemble_android_test>> -DtestBuildType=<<parameters.test_build_type >> --stacktrace"
77
81
78
82
- when :
79
83
condition : <<parameters.cache>>
Original file line number Diff line number Diff line change @@ -39,6 +39,10 @@ parameters:
39
39
description : The build type to build. This is normally either "debug" or "release" but you may have custom build types configured for your app.
40
40
type : string
41
41
default : " debug"
42
+ test_build_type :
43
+ description : The test build type to build. This is normally either "debug" or "release" but you may have custom build types configured for your app.
44
+ type : string
45
+ default : " debug"
42
46
build_cache :
43
47
description : Should we cache after Gradle build? Defaults to true
44
48
type : boolean
87
91
- android_build :
88
92
project_path : <<parameters.project_path>>
89
93
build_type : <<parameters.build_type>>
94
+ test_build_type : <<parameters.test_build_type>>
90
95
cache : <<parameters.build_cache>>
91
96
assemble_android_test : <<parameters.assemble_android_test>>
92
97
- when :
You can’t perform that action at this time.
0 commit comments