Skip to content

Commit

Permalink
Remove firebase step from android-release workflow (#616)
Browse files Browse the repository at this point in the history
  • Loading branch information
wipfli authored Dec 19, 2022
1 parent 1bdeb6e commit d11df00
Showing 1 changed file with 1 addition and 26 deletions.
27 changes: 1 addition & 26 deletions .github/workflows/android-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d11df00

Please sign in to comment.