Skip to content

CI: Create local.properties file in all workflow jobs#3

Merged
BM-Ghost merged 1 commit intoqafrom
dev
Feb 24, 2026
Merged

CI: Create local.properties file in all workflow jobs#3
BM-Ghost merged 1 commit intoqafrom
dev

Conversation

@BM-Ghost
Copy link
Copy Markdown
Owner

This commit adds a step to all jobs across the build.yml, code-quality.yml, and production-release.yml workflows to dynamically create the local.properties file.

This ensures that the Android SDK location is correctly configured by writing sdk.dir=$ANDROID_HOME before any Gradle tasks are executed, preventing potential build failures related to SDK path resolution.

This commit adds a step to all jobs across the `build.yml`, `code-quality.yml`, and `production-release.yml` workflows to dynamically create the `local.properties` file.

This ensures that the Android SDK location is correctly configured by writing `sdk.dir=$ANDROID_HOME` before any Gradle tasks are executed, preventing potential build failures related to SDK path resolution.
Copilot AI review requested due to automatic review settings February 24, 2026 10:00
@BM-Ghost BM-Ghost merged commit 10f0453 into qa Feb 24, 2026
16 checks passed
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a step to create the local.properties file in all GitHub Actions workflow jobs before executing Gradle tasks. This ensures the Android SDK path is properly configured via sdk.dir=$ANDROID_HOME, preventing potential build failures due to SDK path resolution issues.

Changes:

  • Added Create local.properties step to all 7 jobs across 3 workflow files
  • Step is consistently placed after granting gradlew execute permissions and before any Gradle task execution
  • Uses ANDROID_HOME environment variable which is pre-configured in GitHub Actions ubuntu-latest runners

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
.github/workflows/build.yml Added local.properties creation to 3 jobs (build, lint, test)
.github/workflows/code-quality.yml Added local.properties creation to 2 jobs (code-quality, dependency-check)
.github/workflows/production-release.yml Added local.properties creation to 2 jobs (production-build, quality-gate)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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

Successfully merging this pull request may close these issues.

2 participants