[android][ci] Don't rebuild APK twice

Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
This commit is contained in:
Roman Tsisyk 2021-01-04 14:48:16 +00:00
parent 5026b0eb75
commit 8bb45f9adf
2 changed files with 4 additions and 2 deletions

View file

@ -72,10 +72,11 @@ jobs:
path: android/build/outputs/apk/android-web-x86-beta-*.apk
if-no-files-found: error
- name: Upload universal beta apk to App Distribution
- name: Upload arm64-v8a to App Distribution
shell: bash
working-directory: android
run: |
git --no-pager show -s --format='%s%n%n%b' HEAD > RELEASE
# Sic: Firebase App Distribution doesn't support splits
./gradlew -Parm64 -x lint -x lintVitalWebBeta assembleWebBeta uploadCrashlyticsSymbolFileWebBeta appDistributionUploadWebBeta
(cd ./build/outputs/apk; ln -s android-web-arm64-v8a-beta-*.apk android-web-arm64-v8a-beta.apk)
./gradlew appDistributionUploadWebBeta

View file

@ -462,6 +462,7 @@ android {
firebaseAppDistribution {
releaseNotesFile="RELEASE"
groups="android-qa"
apkPath="./build/outputs/apk/android-web-arm64-v8a-beta.apk"
serviceCredentialsFile="firebase-app-distribution.json"
}
}