Skip to content

Add GitHub Actions workflow to build and publish Android release APK#3

Open
dusy4 wants to merge 2 commits into
mainfrom
codex/compile-and-provide-apk-file-d8ia09
Open

Add GitHub Actions workflow to build and publish Android release APK#3
dusy4 wants to merge 2 commits into
mainfrom
codex/compile-and-provide-apk-file-d8ia09

Conversation

@dusy4

@dusy4 dusy4 commented May 8, 2026

Copy link
Copy Markdown
Owner

Motivation

  • Add CI to build the Android release APK and attach it to GitHub Releases automatically for tagged releases.
  • Allow manual release runs via workflow_dispatch with an optional release_tag and ensure a tag is created for manual runs.

Description

  • Add .github/workflows/android-release.yml defining a build_apk job that checks out the repo, sets up JDK 17 and Gradle, runs ./gradlew --no-daemon assembleRelease, and uploads android/app/build/outputs/apk/release/app-release.apk as the app-release-apk artifact.
  • Add a publish_release job that runs for tag refs matching v* or when workflow_dispatch includes release_tag, resolves RELEASE_TAG, creates and pushes the tag for manual runs, downloads the APK artifact, and attaches it to the GitHub Release using softprops/action-gh-release@v2.
  • Set workflow permissions to contents: write and use standard actions actions/checkout@v4, actions/setup-java@v4, gradle/actions/setup-gradle@v4, actions/upload-artifact@v4, and actions/download-artifact@v4.

Testing

  • No automated unit or integration tests were added or executed as part of this change.
  • The new workflow is configured to run on pushes to main, on tag pushes matching v*, and via workflow_dispatch for future verification.

Codex Task

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant