Skip to content

Commit 0f5915d

Browse files
committed
Separate AAB building from play store upload, so we always get an AAB artifact even if upload fails.
1 parent 9377e52 commit 0f5915d

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/build_apk.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,6 @@ jobs:
166166
echo -n "${{ secrets.KOLIBRI_ANDROID_APP_PRODUCTION_KEYSTORE }}" | base64 --decode > production.keystore
167167
export RELEASE_KEYSTORE=$(realpath production.keystore)
168168
make kolibri.aab
169-
# Upload to Play Store - this will also download the universal APK into the dist folder
170-
make playstore-upload
171169
- name: Get AAB filename
172170
if: ${{ inputs.release == true || github.event.inputs.release == 'true' }}
173171
id: get-aab-filename
@@ -177,6 +175,9 @@ jobs:
177175
with:
178176
name: ${{ steps.get-aab-filename.outputs.aab-file-name }}
179177
path: dist/${{ steps.get-aab-filename.outputs.aab-file-name }}
178+
- name: Upload the AAB to the Play Store and download the signed Universal APK
179+
if: ${{ inputs.release == true || github.event.inputs.release == 'true' }}
180+
run: make playstore-upload
180181
- name: Build the apk
181182
if: ${{ inputs.signed == true || github.event.inputs.signed == 'true' }}
182183
env:

0 commit comments

Comments
 (0)