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

Fix Renovate builds failing (attempt #2) #1514

Merged
merged 1 commit into from
Mar 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions example-app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ apply from: "${rootDir}/config/gradle/ci.gradle"

if (file("local.gradle").exists()) {
apply from: "local.gradle"
} else if (System.getenv('CI') || System.getenv('RENOVATE_ENV')) {
// if building from CI or Renovate use example file as it is to ensure the build passes
} else if (System.getenv('CI')) {
// if building from CI use example file as it is to ensure the build passes
apply from: "example.local.gradle"
} else {
throw new GradleException("File example-app/local.gradle not found. Check example-app/README.md for more instructions.")
Expand Down
5 changes: 4 additions & 1 deletion renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,8 @@
"schedule" : ["on the first day of the month"]
}
],
"rebaseWhen" : "never"
"rebaseWhen" : "never",
"env": {
"CI": "true"
}
}
Loading