[android] Fix beta uploading

Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
This commit is contained in:
Roman Tsisyk 2023-09-04 20:47:46 +03:00
parent 65a424cfbe
commit ccceea0d63
2 changed files with 3 additions and 3 deletions

View file

@ -80,7 +80,7 @@ jobs:
- name: Run monkey - name: Run monkey
run: | run: |
gcloud auth activate-service-account --key-file android/firebase-test-lab.json gcloud auth activate-service-account --key-file android/app/firebase-test-lab.json
gcloud config set project omapsapp gcloud config set project omapsapp
gcloud firebase test android run --app ./android/app/build/outputs/apk/google/debug/OrganicMaps-*-google-debug.apk \ gcloud firebase test android run --app ./android/app/build/outputs/apk/google/debug/OrganicMaps-*-google-debug.apk \
--device model=panther,version=33 \ --device model=panther,version=33 \

View file

@ -24,7 +24,7 @@ buildscript {
ext.googleMobileServicesEnabled = taskName.contains('google') || taskName.contains('huawei') || taskName.contains('web') ext.googleMobileServicesEnabled = taskName.contains('google') || taskName.contains('huawei') || taskName.contains('web')
// Enable Firebase for all beta flavors except fdroid only if google-services.json exists. // Enable Firebase for all beta flavors except fdroid only if google-services.json exists.
def googleFirebaseServicesDefault = isBeta && !isFdroid && file('google-services.json').exists() def googleFirebaseServicesDefault = isBeta && !isFdroid && file('app/google-services.json').exists()
// Add a parameter to force Firebase. // Add a parameter to force Firebase.
ext.googleFirebaseServicesEnabled = project.hasProperty('firebase') ?: googleFirebaseServicesDefault ext.googleFirebaseServicesEnabled = project.hasProperty('firebase') ?: googleFirebaseServicesDefault
@ -368,7 +368,7 @@ android {
// Use the last commit message for the release notes. // Use the last commit message for the release notes.
releaseNotes = getCommitMessage() releaseNotes = getCommitMessage()
groups = "qa" // Notify only selected people. groups = "qa" // Notify only selected people.
serviceCredentialsFile = "firebase-app-distribution.json" serviceCredentialsFile = "app/firebase-app-distribution.json"
} }
} }
} }