firebase-action icon indicating copy to clipboard operation
firebase-action copied to clipboard

Firebase Deploy not work normally on v11.5.0

Open kboy-silvergym opened this issue 2 years ago • 2 comments

Problem

When I use v11.5.0, the error has shown. ↓↓

Authenticating with `FIREBASE_TOKEN` is deprecated and will be removed in a future major version of `firebase-tools`. Instead, use a service account key with `GOOGLE_APPLICATION_CREDENTIALS`: https://cloud.google.com/docs/authentication/getting-started

And when hosting to Firebase Hosting, the page turned to white screen.

Workaround

When I back to v2.2.2, the action work well.

That's it.

kboy-silvergym avatar Aug 15 '22 10:08 kboy-silvergym

Maybe this change has made something bad influence.

https://github.com/w9jds/firebase-action/commit/e268f4eac3cc6630102230f3d610b4299f9e23b4

kboy-silvergym avatar Aug 15 '22 10:08 kboy-silvergym

Yes v2.2.2 uses an older version of firebase-tools This is most likely related to the major changes they are making to their CLI. I will have to look into this as I use hosting with my action as well. Unless you are pointing directly to master the JDK change won't change anything (and it only effects emulators).

w9jds avatar Aug 16 '22 02:08 w9jds

Haven't heard anything since the latest versions so closing this.

w9jds avatar Dec 18 '22 00:12 w9jds