Skip to content

Commit 14610ee

Browse files
committed
Fix cloud SDK auth
1 parent 82c3e10 commit 14610ee

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/firebase_test_lab.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,14 @@ jobs:
5656
gradle-executable: ${{ github.workspace }}/MacrobenchmarkSample/gradlew
5757
wrapper-directory: ${{ github.workspace }}/MacrobenchmarkSample/gradle/wrapper
5858

59-
- name: Set up Cloud SDK
60-
uses: google-github-actions/setup-gcloud@v0
59+
- name: 'Authenticate Cloud SDK'
60+
uses: 'google-github-actions/auth@v0'
6161
with:
62-
project_id: ${{ secrets.GCP_PROJECT_ID }}
63-
service_account_key: ${{ secrets.GCP_SA_KEY }}
64-
export_default_credentials: true
62+
credentials_json: '${{ secrets.GCP_CREDENTIALS }}'
6563

64+
- name: Set up Cloud SDK
65+
uses: google-github-actions/setup-gcloud@v0
66+
6667
- name: Run Macro Benchmarks
6768
run: |
6869
gcloud firebase test android run \

0 commit comments

Comments
 (0)