Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure if local.properties is not present? #23

Open
ianthetechie opened this issue Nov 5, 2023 · 0 comments
Open

Failure if local.properties is not present? #23

ianthetechie opened this issue Nov 5, 2023 · 0 comments

Comments

@ianthetechie
Copy link

Please accept my apologies in advance if this is not a particularly well formulated issue, as I am a Rust developer first and a JDK developer like... 25th 😂

It seems like local.properties needs to be present, or the build just fails. I knew exactly enough about Gradle to be dangerous, but Im' confused by this since my autogenerated local.properties file specifically says not to commit it to git, and running GitHub actions there is, as far as I can tell, no reason this would be generated for you and no reason to create one in most cases.

For a concrete example, see this failed CI run: https://github.com/stadiamaps/ferrostar/actions/runs/6761866916/job/18377186924.

java.io.FileNotFoundException: /home/runner/work/ferrostar/ferrostar/android/local.properties (No such file or directory)

I fixed this by literally adding touch local.properties in my GitHub action. This seems to me like it should not be necessary. Am I missing something?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant