Skip to content

Add GitHub Actions CI to build debug APK - #2

Merged
yungsamd17 merged 1 commit into
mainfrom
ci/github-actions
Aug 23, 2026
Merged

yungsamd17 merged 1 commit into
mainfrom
ci/github-actions

Conversation

@yungsamd17

Copy link
Copy Markdown
Member

Summary

Sets up continuous integration so the app is actually built on every push and PR β€” no more "works on my machine" or broken configs landing silently on main (the exact problem that caused the stale paths removed in #1).

What's added

.github/workflows/ci.yml

  • Triggers on push to main, all PRs, and manual dispatch
  • Concurrency group cancels superseded runs on the same ref
  • JDK 17 (Temurin) via actions/setup-java@v4 β€” required by AGP 8.7.3
  • Android SDK via android-actions/setup-android@v3
  • Gradle wrapper validation (gradle/actions/wrapper-validation@v4) β€” supply-chain guard for the wrapper jar
  • Gradle caching (gradle/actions/setup-gradle@v4) β€” caches dependencies/build outputs between runs
  • Runs ./gradlew assembleDebug
  • Uploads app-debug.apk as a workflow artifact

README β€” CI status badge. CHANGELOG β€” [Unreleased] entry.

Verification plan

This PR itself triggers the new workflow, so the check below is the end-to-end test: if it goes green, the pipeline builds the APK from a clean environment with zero local state.


Built with: model ox-alpha (developed by an undisclosed organization), running as the opencode agent inside and-code.

- Build assembleDebug on push/PR with JDK 17 + Android SDK
- Gradle wrapper validation and dependency caching
- Upload app-debug.apk as workflow artifact
- CI status badge in README
@yungsamd17
yungsamd17 merged commit cc27274 into main Aug 23, 2026
1 check passed
@yungsamd17
yungsamd17 deleted the ci/github-actions branch August 23, 2026 17:18
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.

1 participant