[#374] Run sanity check on universal APK

This commit is contained in:
Carter Jernigan 2022-04-12 10:49:32 -04:00 committed by Carter Jernigan
parent 9933721b5a
commit 07a12f8832
2 changed files with 3 additions and 3 deletions

View File

@ -286,7 +286,7 @@ jobs:
ORG_GRADLE_PROJECT_ZCASH_RELEASE_KEY_ALIAS: androiddebugkey
ORG_GRADLE_PROJECT_ZCASH_RELEASE_KEY_ALIAS_PASSWORD: android
run: |
./gradlew :app:assembleRelease
./gradlew :app:bundleRelease :app:packageZcashmainnetReleaseUniversalApk
- name: Collect Artifacts
timeout-minutes: 1
env:
@ -295,7 +295,7 @@ jobs:
MAPPINGS_ZIP_PATH: ${{ format('{0}/artifacts/mappings.zip', env.home) }}
run: |
mkdir ${ARTIFACTS_DIR_PATH}
zip -r ${BINARIES_ZIP_PATH} . -i *app/build/outputs/apk/*/release/*.apk *app/build/outputs/bundle/*/release/*.aab
zip -r ${BINARIES_ZIP_PATH} . -i app/build/outputs/apk/\*/\*.apk app/build/outputs/universal_apk/\*/\*.apk app/build/outputs/bundle/\*/\*.aab
zip -r ${MAPPINGS_ZIP_PATH} . -i *app/build/outputs/mapping/*/mapping.txt
- name: Upload Artifacts
uses: actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535

View File

@ -256,7 +256,7 @@ if (firebaseTestLabKeyPath.isNotBlank()) {
debugApk.set(
project.provider {
"${buildDir}/outputs/apk/zcashmainnet/release/app-zcashmainnet-release.apk"
"${buildDir}/outputs/universal_apk/zcashmainnetRelease/app-zcashmainnet-release-universal.apk"
}
)