Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

robo movie (fixes #4074) #4075

Open
wants to merge 18 commits into
base: master
Choose a base branch
from
38 changes: 38 additions & 0 deletions .github/workflows/android-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,43 @@ jobs:
status: completed
changesNotSentForReview: true

- name: authenticate with google cloud
if: github.ref != 'refs/heads/master' && (matrix.build == 'lite')
uses: google-github-actions/auth@v2
with:
credentials_json: ${{ secrets.GCLOUD_AUTH }}

- name: setup gcloud cli
if: github.ref != 'refs/heads/master' && (matrix.build == 'lite')
uses: google-github-actions/setup-gcloud@v2
with:
version: 'latest'

- name: upload APK to Firebase Test Lab
if: github.ref != 'refs/heads/master' && (matrix.build == 'lite')
env:
FIREBASE_TOKEN: ${{ secrets.ROBOT_KEY }}
run: |
ls -al output/
npm install -g firebase-tools
firebase --version
#firebase projects:list
if [ -f output/myPlanet.apk ]; then
gcloud config set project linux-422103
#gcloud firebase test android models list
gcloud firebase test android run \
--type robo \
--app output/myPlanet.apk \
--results-bucket myplanet-results \
--results-dir test-results/myPlanet/$(date +%Y%m%d_%H%M%S) \
--timeout 900s \
--device model=MediumPhone.arm,version=34,locale=es,orientation=portrait
#--device model=shiba,version=34,locale=es,orientation=portrait
else
echo "APK file not found!"
exit 1
fi

- name: rename APK and AAB with version and branch for artifact
if: github.event_name == 'workflow_dispatch'
run: |
Expand Down Expand Up @@ -145,6 +182,7 @@ jobs:
overwrite: 'true'
file_glob: 'true'


- name: send success message to discord
if: github.event_name != 'workflow_dispatch' && matrix.build != 'lite'
run: |
Expand Down