Open dhruvin22 opened 1 year ago
Alternative way to deployment https://firebase.google.com/docs/app-distribution/android/distribute-gradle
In my case i was using a double tunnel to call a workflow in another project, please add secrets: inherit
to pass the secrets to the other (each tunnel needs that) project. this error is because the project cant read the secrets.
jobs:
call-workflow-passing-data:
uses: octo-org/example-repo/.github/workflows/reusable-workflow.yml@main
secrets: inherit
Facing same issue. Is this the only way of doing this?
I can use the gradle plugin to distribute the app but I would've expected this workflow to work too
you need to use serviceCredentialsFileContent: ${{CREDENTIAL_FILE_CONTENT}}
https://github.com/wzieba/Firebase-Distribution-Github-Action/wiki/FIREBASE_TOKEN-migration
OP is using serviceCredentialsFileContent
as so do I, and it's failing. I also tried serviceCredentialsFile
(file path).
Hi @quetool, @dhruvin22. I was facing a similar issue in a shell script I wrote, similar to the one in this action.
Solution: Reformat the CREDENTIAL_FILE_CONTENT json, and escape the \n's in the "private_key" field.
Example:
"private_key": "-----BEGIN PRIVATE KEY-----\\n***\\n***\\n***\\n***\\n***\\n***\\n***\n-----END PRIVATE KEY-----\\n"
Firebase Authentication not working github action
Maybe this error occurred due to Firebase CIL tool updates.....