(Android) Example CI Workflow
Description
Example Workflow for commits on the main branch of an Android app. The Workflow contains:
-
Filling the cache for upcoming pull request builds.
bitrise.yml
--- format_version: '11' default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git project_type: android workflows: ci: steps: - [email protected]: run_if: '{{getenv "SSH_RSA_PRIVATE_KEY" | ne ""}}' - [email protected]: {} - [email protected]: {} - [email protected]: inputs: - project_location: $PROJECT_LOCATION - variant: $VARIANT - [email protected]: inputs: - variant: $VARIANT - module: $MODULE - [email protected]: inputs: - test_type: instrumentation - [email protected]: inputs: - variant: "$VARIANT" - [email protected]: inputs: - project_location: "$PROJECT_LOCATION" - module: "$MODULE" - variant: "$VARIANT" - [email protected]: {} - [email protected]: inputs: - channel: "#build-notifications" - webhook_url: "$SLACK_WEBHOOK" - [email protected]: {} app: envs: - opts: is_expand: false PROJECT_LOCATION: "." - opts: is_expand: false MODULE: app - VARIANT: debug opts: is_expand: false trigger_map: - push_branch: main workflow: ci