-
Notifications
You must be signed in to change notification settings - Fork 15
/
bitrise.yml
74 lines (71 loc) · 1.87 KB
/
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
---
format_version: '4'
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
project_type: fastlane
app:
envs:
- FASTLANE_XCODE_LIST_TIMEOUT: '120'
workflows:
ios:
steps:
run_if: '{{getenv "SSH_RSA_PRIVATE_KEY" | ne ""}}'
- [email protected]: {}
title: Do anything with Script step
inputs:
- content: |-
yarn
cd ios/ && fastlane spaceauth -u [email protected]
- [email protected]: {}
inputs:
- lane: "$FASTLANE_LANE"
- work_dir: "$FASTLANE_WORK_DIR"
- [email protected]: {}
envs:
- opts:
is_expand: false
FASTLANE_WORK_DIR: ios
- opts:
is_expand: false
FASTLANE_LANE: ios beta
android:
steps:
run_if: '{{getenv "SSH_RSA_PRIVATE_KEY" | ne ""}}'
- [email protected]: {}
title: Do anything with Script step
inputs:
- content: |-
#!/usr/bin/env bash
# fail if any commands fails
set -e
# debug log
set -x
# Retrieve keystore file
curl -o ./android/keystores/app.keystore $BITRISEIO_ANDROID_KEYSTORE_URL
# JSON file
curl -o ./android/app/google-services.json $BITRISEIO_GOOGLE_SERVICES_URL
yarn
inputs:
- lane: "$FASTLANE_LANE"
- work_dir: "$FASTLANE_WORK_DIR"
- [email protected]: {}
envs:
- opts:
is_expand: false
FASTLANE_WORK_DIR: android
- opts:
is_expand: false
FASTLANE_LANE: android beta
meta:
bitrise.io:
stack: linux-docker-android
trigger_map:
- tag: android-*
workflow: android
- tag: ios-*
workflow: ios