File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change 10
10
# Apk / Aab Name
11
11
artifact_name : github-action-automated
12
12
13
+ # Keystore
14
+ ks_path : frogoboxdev.jks
15
+
16
+ # Keystore Password
17
+ ks_store_pass : cronoclez
18
+
19
+ # Keystore Alias
20
+ ks_alias : frogobox
21
+
22
+ # Keystore Alias Password
23
+ ks_alias_pass : xeonranger
24
+
13
25
on :
14
26
15
27
push :
@@ -67,10 +79,10 @@ jobs:
67
79
run : ./gradlew ${{ env.main_project_module }}:bundleRelease
68
80
69
81
- name : Build apk from bundle using bundletool
70
- run : bundletool build-apks --bundle=${{ env.main_project_module }}/build/outputs/bundle/debug/${{ env.artifact_name }}-debug.aab --output=${{ env.main_project_module }}/build/outputs/apk/debug/${{ env.artifact_name }}-debug.apks
82
+ run : java -jar " bundletool.jar" build-apks --bundle=${{ env.main_project_module }}/build/outputs/bundle/debug/${{ env.artifact_name }}-debug.aab --output=${{ env.main_project_module }}/build/outputs/apk/debug/${{ env.artifact_name }}-debug.apks --mode=universal
71
83
72
84
- name : Build apk from bundle using bundletool
73
- run : bundletool build-apks --bundle=${{ env.main_project_module }}/build/outputs/bundle/release/${{ env.artifact_name }}-release.aab --output=${{ env.main_project_module }}/build/outputs/apk/release/${{ env.artifact_name }}-release.apks
85
+ run : java -jar " bundletool.jar" build-apks --bundle=${{ env.main_project_module }}/build/outputs/bundle/release/${{ env.artifact_name }}-release.aab --output=${{ env.main_project_module }}/build/outputs/apk/release/${{ env.artifact_name }}-release.apks --mode=universal --ks="app/${{ env.ks_path }}" --ks-pass=pass:${{ env.ks_store_pass }} --ks-key-alias=${{ env.ks_alias }} --key-pass=pass:${{ env.ks_alias_pass }}
74
86
75
87
# Upload Artifact Build
76
88
# Noted For Output [main_project_module]/build/outputs/apk/debug/
You can’t perform that action at this time.
0 commit comments