This repository was archived by the owner on Oct 18, 2024. It is now read-only.
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 5555 IDE_SIGNING_KEY_PASS : ${{ secrets.IDE_SIGNING_KEY_PASS }}
5656 IDE_SIGNING_STORE_PASS : ${{ secrets.IDE_SIGNING_STORE_PASS }}
5757 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 ./
5861 - name : Assemble Release
5962 if : ${{ github.ref == 'refs/heads/main' }}
6063 run : ./gradlew assembleRelease
@@ -66,18 +69,21 @@ jobs:
6669 IDE_SIGNING_KEY_PASS : ${{ secrets.IDE_SIGNING_KEY_PASS }}
6770 IDE_SIGNING_STORE_PASS : ${{ secrets.IDE_SIGNING_STORE_PASS }}
6871 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 ./
6975 - name : Upload Debug APK
7076 if : ${{ github.ref != 'refs/heads/main' }}
7177 uses : actions/upload-artifact@v3
7278 with :
7379 name : apk-debug
74- path : app/build/outputs/apk/ debug/** .apk
80+ path : app- debug.apk
7581 - name : Upload Release APK
7682 if : ${{ github.ref == 'refs/heads/main' }}
7783 uses : actions/upload-artifact@v3
7884 with :
7985 name : apk-release
80- path : app/build/outputs/apk/ release/** .apk
86+ path : app- release.apk
8187
8288 unit_test_debug :
8389 name : Run local tests
Original file line number Diff line number Diff line change @@ -67,4 +67,4 @@ services:
6767 options :
6868 REPOSITORY_OWNER : " AndroidIDEOfficial"
6969 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