Remove firebase step from android-release workflow (#616)

This commit is contained in:
Oliver Wipfli
2022-12-19 13:42:44 +01:00
committed by GitHub
parent 1bdeb6e260
commit d11df0066e

View File

@@ -104,32 +104,7 @@ jobs:
shell: bash
- name: Generate javadoc
run: make android-javadoc
- name: Log in to Google Cloud Platform
run: |
GLCLOUD_SERVICE_JSON='${{ secrets.GLCLOUD_SERVICE_JSON }}'
if [[ -n "${GLCLOUD_SERVICE_JSON}" ]]; then
echo "Activating google cloud account..."
echo "${GLCLOUD_SERVICE_JSON}" > secret.json
gcloud auth activate-service-account --key-file secret.json --project maptiler-gl-mobile
rm secret.json
else
echo "No secrets.GLCLOUD_SERVICE_JSON variable set, skipping google cloud login..."
fi
shell: bash
- name: Run robotest of release Test App on Firebase
run: |
GLCLOUD_SERVICE_JSON='${{ secrets.GLCLOUD_SERVICE_JSON }}'
if [[ -n "${GLCLOUD_SERVICE_JSON}" ]]; then
gcloud firebase test android run --type robo \
--app MapboxGLAndroidSDKTestApp/build/outputs/apk/release/MapboxGLAndroidSDKTestApp-release.apk \
--device-ids walleye --os-version-ids "27" --locales en --orientations portrait --timeout 90s
else
echo "No secrets.GLCLOUD_SERVICE_JSON variable set, skipping tests..."
fi
shell: bash
run: make android-javadoc
# create github release
- name: Prepare release