Started getting this error with version v0.3.0:
Error: google-github-actions/setup-gcloud failed with: Error parsing credentials: Unexpected end of JSON input
Ensure your credentials are base64 encoded or validate JSON format:
No error and successful build
Failed build
- name: Setup gcloud
uses: google-github-actions/[email protected]
with:
export_default_credentials: true
We were on master, and switching back to this fixes it for us:
- name: Setup gcloud
uses: google-github-actions/[email protected]
with:
export_default_credentials: true
Hi @depsypher
This looks like google-github-actions/auth#73. Assuming you are using the auth
action, could you remove the export_default_credentials: true
from setup-gcloud
. The auth
action already does the export by default.
Owner Name | google-github-actions |
Repo Name | setup-gcloud |
Full Name | google-github-actions/setup-gcloud |
Language | TypeScript |
Created Date | 2019-11-05 |
Updated Date | 2023-03-23 |
Star Count | 1505 |
Watcher Count | 65 |
Fork Count | 548 |
Issue Count | 11 |
Issue Title | Created Date | Updated Date |
---|