diff --git a/src/commands/android_build.yml b/src/commands/android_build.yml index 68bd274..59f7cb1 100644 --- a/src/commands/android_build.yml +++ b/src/commands/android_build.yml @@ -9,6 +9,10 @@ parameters: description: The build type to build. This is normally either "debug" or "release" but you may have custom build types configured for your app. type: string default: "debug" + test_build_type: + 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. + type: string + default: "debug" cache: description: Save and restore the caches? Defaults to true type: boolean @@ -73,7 +77,7 @@ steps: - run: name: Build Android APK - command: "cd <> && chmod +x gradlew && ./gradlew --build-cache --max-workers 2 --continue assemble<> <> -DtestBuildType=<> --stacktrace" + command: "cd <> && chmod +x gradlew && ./gradlew --build-cache --max-workers 2 --continue assemble<> <> -DtestBuildType=<> --stacktrace" - when: condition: <> diff --git a/src/jobs/android_build.yml b/src/jobs/android_build.yml index 59665fc..004f2fe 100644 --- a/src/jobs/android_build.yml +++ b/src/jobs/android_build.yml @@ -39,6 +39,10 @@ parameters: description: The build type to build. This is normally either "debug" or "release" but you may have custom build types configured for your app. type: string default: "debug" + test_build_type: + 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. + type: string + default: "debug" build_cache: description: Should we cache after Gradle build? Defaults to true type: boolean @@ -87,6 +91,7 @@ steps: - android_build: project_path: <> build_type: <> + test_build_type: <> cache: <> assemble_android_test: <> - when: