-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodemagic.yaml
More file actions
31 lines (25 loc) · 756 Bytes
/
Copy pathcodemagic.yaml
File metadata and controls
31 lines (25 loc) · 756 Bytes
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
workflows:
android-manual-build:
name: Android Manual Build
environment:
java: 17
android_signing:
- infinity_keystore
triggering:
events:
- push
branch_patterns:
- pattern: '*'
include: true
source: true
scripts:
- name: Make gradlew executable
script: chmod +x ./gradlew
- name: Build release APK
script: |
./gradlew assembleRelease
echo "Build version: $(grep "versionName" app/build.gradle | awk '{print $2}' | tr -d '\"')"
echo "Build code: $(grep "versionCode" app/build.gradle | awk '{print $2}')"
artifacts:
- app/build/outputs/**/*.apk
- app/build/outputs/**/mapping.txt