Remove firebase step from android-release workflow (#616)
This commit is contained in:
27
.github/workflows/android-release.yml
vendored
27
.github/workflows/android-release.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user