From 3f056cd7b79e20d34b9f9ca188a57cce095e0f0e Mon Sep 17 00:00:00 2001 From: Michael <3yebmb@gmail.com> Date: Mon, 21 Oct 2024 11:39:47 +0200 Subject: [PATCH] Change github actions --- .github/workflows/deploy.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 9728869..be01497 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -78,18 +78,20 @@ jobs: with: name: app-debug-androidTest - - name: 'Google Cloud Auth' + - id: Auth uses: google-github-actions/auth@v2 with: + project_id: ${{ secrets.SOME_PROJECT_ID }} credentials_json: '${{ secrets.GOOGLE_SERVICES_JSON }}' - name: Set up Google Cloud SDK uses: google-github-actions/setup-gcloud@v2 - with: - project_id: ${{ secrets.SOME_PROJECT_ID }} + + - name: Use gcloud CLI + run: gcloud info - name: Run instrumental tests in Firebase Test Lab - run: gcloud firebase test android run --type instrumentation --app app-debug/app-debug.apk --test app-debug-androidTest/app-debug-androidTest.apk --device model=blueline,version=28 + run: gcloud firebase test android run --type instrumentation --app app-debug/app-debug.apk --test app-debug-androidTest/app-debug-androidTest.apk --device model=flame,version=29 distribute: name: Distribute app bundle to Play Store