When I run it by pushing to main, the Setup Project sets fails with an error:
Error: Failed to setup firebase with error Error: Unable to locate executable file: cd. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.
When I remove project_path and run only with working-directory: firebase on the firebase deploy step, it works as expected. I have also tried with project_path and without working-directory, which also fails on "Setup Project".
Is the project_path even necessary for setup-firebase, since it should just setup firebase-tools but the deploying in handled afterwards?
This is my GH action yml file:
When I run it by pushing to main, the Setup Project sets fails with an error:
When I remove
project_path
and run only withworking-directory: firebase
on thefirebase deploy
step, it works as expected. I have also tried withproject_path
and withoutworking-directory
, which also fails on "Setup Project". Is theproject_path
even necessary for setup-firebase, since it should just setup firebase-tools but the deploying in handled afterwards?