Skip to content

CICD-474 · Android APK distribution ​

Encyclopedia · Mobile, desktop and binary distribution · All snippets

Previous · CICD-473 · Next · CICD-475

1. Where it fits ​

  • Placement approved distribution job.
  • Prerequisites approved toolchains and isolated build/signing runner when credentials are required.
  • Platforms github-actions, github-cli.
  • Parameters RELEASE_TAG, TARGET_REPO.

2. Copy the snippet ​

bash
gh release upload "${RELEASE_TAG:?}" app-signed.apk app-signed.apk.sha256 --repo "${TARGET_REPO:?}"

3. How it works ​

The CLI attaches built assets to an existing release. The selected repository, tag and asset names scope the operation.

4. Verify the result ​

Sign and checksum the artifact first. Ensure the release and destination are the intended channel.

Watch for. Use an independently reviewed target, owner and scoped write identity. Confirm the resulting state separately.

Validation syntax-validated (Bash parse). Status definitions.