forked from bitrise-io/sample-apps-android-sdk22
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bitrise.yml
37 lines (35 loc) · 906 Bytes
/
bitrise.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
---
format_version: 1.1.0
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
app:
envs:
- default_apk_dir: "./app/build/outputs/apk"
- default_apk_name: app-debug.apk
trigger_map:
- pattern: "*"
is_pull_request_allowed: true
workflow: primary
workflows:
primary:
steps:
run_if: .IsCI
title: gradlew
inputs:
- content: |-
#!/bin/bash
set -ex
bash ./gradlew assemble
title: gradle assemble & move to DEPLOY dir
inputs:
- content: |-
#!/bin/bash
set -ex
gradle assemble
mv "${default_apk_dir}/${default_apk_name}" "${BITRISE_DEPLOY_DIR}/${default_apk_name}"
run_if: .IsCI
inputs:
- is_compress: 'false'