-
Notifications
You must be signed in to change notification settings - Fork 11
/
codemagic.yaml
40 lines (39 loc) · 1.13 KB
/
codemagic.yaml
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
# Automatically generated on 2020-03-12 UTC from https://codemagic.io/app/5e69ab92d5212a000d2528ff/settings
# Note that this configuration is not an exact match to UI settings. Review and adjust as necessary.
workflows:
pr-workflow:
name: PR Workflow
environment:
flutter: stable
triggering:
events:
- pull_request
branch_patterns:
- pattern: '*'
include: true
source: true
scripts:
- |
# set up debug keystore
rm -f ~/.android/debug.keystore
keytool -genkeypair \
-alias androiddebugkey \
-keypass android \
-keystore ~/.android/debug.keystore \
-storepass android \
-dname 'CN=Android Debug,O=Android,C=US' \
-keyalg 'RSA' \
-keysize 2048 \
-validity 10000
- |
# build android
cd $FCI_BUILD_DIR && ./gradlew :app:bundleDebug
artifacts:
- build/**/outputs/**/*.apk
- build/**/outputs/**/*.aab
- build/**/outputs/**/mapping.txt
- flutter_drive.log
publishing:
email:
recipients:
- maks@manichord.com