File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 55
55
IDE_SIGNING_KEY_PASS : ${{ secrets.IDE_SIGNING_KEY_PASS }}
56
56
IDE_SIGNING_STORE_PASS : ${{ secrets.IDE_SIGNING_STORE_PASS }}
57
57
IDE_SIGNING_URL : ${{ secrets.IDE_SIGNING_URL }}
58
+ - name : Copy debug APK
59
+ if : ${{ github.ref != 'refs/heads/main' }}
60
+ run : cp app/build/outputs/apk/debug/**.apk ./
58
61
- name : Assemble Release
59
62
if : ${{ github.ref == 'refs/heads/main' }}
60
63
run : ./gradlew assembleRelease
@@ -66,18 +69,21 @@ jobs:
66
69
IDE_SIGNING_KEY_PASS : ${{ secrets.IDE_SIGNING_KEY_PASS }}
67
70
IDE_SIGNING_STORE_PASS : ${{ secrets.IDE_SIGNING_STORE_PASS }}
68
71
IDE_SIGNING_URL : ${{ secrets.IDE_SIGNING_URL }}
72
+ - name : Copy release APK
73
+ if : ${{ github.ref == 'refs/heads/main' }}
74
+ run : cp app/build/outputs/apk/release/**.apk ./
69
75
- name : Upload Debug APK
70
76
if : ${{ github.ref != 'refs/heads/main' }}
71
77
uses : actions/upload-artifact@v3
72
78
with :
73
79
name : apk-debug
74
- path : app/build/outputs/apk/ debug/** .apk
80
+ path : app- debug.apk
75
81
- name : Upload Release APK
76
82
if : ${{ github.ref == 'refs/heads/main' }}
77
83
uses : actions/upload-artifact@v3
78
84
with :
79
85
name : apk-release
80
- path : app/build/outputs/apk/ release/** .apk
86
+ path : app- release.apk
81
87
82
88
unit_test_debug :
83
89
name : Run local tests
Original file line number Diff line number Diff line change @@ -67,4 +67,4 @@ services:
67
67
options :
68
68
REPOSITORY_OWNER : " AndroidIDEOfficial"
69
69
REPOSITORY_NAME : " AndroidIDE"
70
- AUTHENTICATION_TOKEN : " {{#environment.variable}}GH_TOKEN{{/environment.variable}}"
70
+ AUTHENTICATION_TOKEN : " {{#environment.variable}}GH_TOKEN{{/environment.variable}}"
You can’t perform that action at this time.
0 commit comments