Skip to content

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

Merged
dusy4 merged 2 commits into
mainfrom
codex/compile-and-provide-apk-file-fduq0j
May 8, 2026
Merged

Add GitHub Actions workflow to build and publish Android release APK#4
dusy4 merged 2 commits into
mainfrom
codex/compile-and-provide-apk-file-fduq0j

Conversation

@dusy4

@dusy4 dusy4 commented May 8, 2026

Copy link
Copy Markdown
Owner

Motivation

  • Provide an automated CI workflow to build release APKs and publish them to GitHub Releases when a release tag is created or the workflow is manually triggered.

Description

  • Add .github/workflows/android-release.yml to trigger on pushed tags matching v* and on workflow_dispatch manual runs with an optional release_tag input.
  • Resolve the release tag from the manual input or from GITHUB_REF_NAME and create/push the tag for manual runs when a tag input is provided.
  • Set up JDK 17 and Gradle, build the release APK with ./gradlew --no-daemon assembleRelease in the android directory, upload the APK as an artifact, and publish it to a GitHub Release when the tag starts with v.
  • Use actions/checkout@v4, actions/setup-java@v4, gradle/actions/setup-gradle@v4, actions/upload-artifact@v4, and softprops/action-gh-release@v2 in the workflow.

Testing

  • No automated tests were executed as part of this PR; the workflow is configured to run on pushed tags matching v* and on manual dispatch and will run in CI when triggered.

Codex Task

@dusy4 dusy4 merged commit 7c87c2d into main May 8, 2026
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