Commit graph

3 commits

Author SHA1 Message Date
Mikael Hugo
d1b2bd7450 ci(android): quote Firebase secrets in workflows, store tokens in OpenBao
Some checks failed
Build Play Debug APK / build (push) Waiting to run
Build F-Droid Debug APK / build (push) Failing after 15m9s
Build and Publish F-Droid Release / build (push) Failing after 3m25s
Build and Publish Play Release / build (push) Failing after 8s
- Adds quotes around FIREBASE_APP_ID and FIREBASE_CI_TOKEN in workflow
  steps to handle special characters safely.
- Firebase CI token and App ID are now stored in OpenBao kv/android-signing.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-15 03:55:40 +02:00
Mikael Hugo
684ac9597d ci(android): add Firebase App Distribution to release workflows
Adds Firebase CLI install + appdistribution:distribute step to both
F-Droid and Play release workflows. Also adds a new build-play-release.yml
workflow for the Play (Firebase) flavor.

Required secrets (store in Forgejo repo → Settings → Secrets):
  FIREBASE_APP_ID     — from Firebase project settings
  FIREBASE_CI_TOKEN   — from Firebase CLI login:ci
  ANDROID_KEYSTORE_BASE64 — base64-encoded release keystore
  ANDROID_KEYSTORE_PASSWORD
  ANDROID_KEY_ALIAS
  ANDROID_KEY_PASSWORD

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-15 03:37:18 +02:00
Mikael Hugo
19201cf251 ci(android): add Forgejo Actions workflows for debug APK builds
Adds .forgejo/workflows/ with two workflows that run on the self-hosted
vega-runner (Forgejo act_runner with Nix support):

- build-fdroid-debug.yml: builds fdroidDebug variant (no Firebase)
- build-play-debug.yml: builds playDebug variant (with Firebase)

Both install the Android SDK via command-line tools, set up JDK 21,
cache Gradle, build the APK, and upload artifacts.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-15 03:17:11 +02:00