Commit graph onionwire/.forgejo/workflows/android-release.yml
Author SHA1 Message Date
2cf055c1e8
ci(release): android-release is dispatch-only; a CI-created tag cannot wake it
Neither decoupled trigger fires on Forgejo 10.0.3: a tag created by the CI
(API or git push) is an Actions-user push and is not dispatched back into
Actions, and reusable workflows need Forgejo >= 12. The release procedure is
therefore two dispatches: release.yml, then android-release with that tag.
2026-09-12 18:55:58 -04:00
6c9fd00b8a
ci(release): manual, batched releases — no release on merge
All checks were successful
ci / test (pull_request) Successful in 3m49s
Drop `push: branches: [main]` from both release workflows. release.yml now
runs only via workflow_dispatch, with bump (default minor), version, tag and
dry_run inputs; contradictory input is rejected instead of guessed at.

android-release.yml keeps the Android assets on the same tag by subscribing to
`push: tags: v*.*.*`: creating a tag over the API sends the same push
notification a git push does, so the core's tag wakes it. No workflow_call —
this Forgejo is 10.0.3, where reusable workflows are not supported.

docs/RELEASING.md is the policy and procedure.
2026-09-12 17:57:15 -04:00
Sirius DevOps
601eb35c4b
ci(android): publish APK/AAR from the Pi runner
Build stays on docker-amd64. Attach artifacts on the Pi so POST /releases
does not 422 from amd64 dind. Join v0.1.0 when that release is missing
the APK instead of minting patch+1.
2026-09-12 13:55:07 -04:00
Sirius DevOps
63abd8eaf2
fix(ci): do not fail the Android verify pipe on SIGPIPE from head
All checks were successful
ci / test (pull_request) Successful in 2m44s
BUILD SUCCESSFUL produced a 33MB arm64 APK; pipefail + aapt|head then
exited 141 and dropped the artifacts before docker cp.
2026-09-12 02:23:34 -04:00
Sirius DevOps
c90c59146d
fix(ci): new android-release concurrency group so dry_run can queue
All checks were successful
ci / test (pull_request) Successful in 2m46s
2026-09-12 02:06:37 -04:00
Sirius DevOps
1e6a4c12b2
fix(ci): join latest tag when its release lacks the APK
All checks were successful
ci / test (pull_request) Successful in 2m45s
Core owns tag creation. If vN exists and the release is missing the
Android APK, attach there instead of minting N+1. Never delete tags.
Path filter is sources/Gradle only — README edits do not publish.
2026-09-12 01:37:40 -04:00
Sirius DevOps
87ab0d2869
fix(ci): use debian:bookworm for the Android sibling container
All checks were successful
ci / test (pull_request) Successful in 3m0s
eclipse-temurin:17-jdk-bookworm is not a published tag (manifest unknown).
debian:bookworm is current and has openjdk-17.
2026-09-12 01:16:28 -04:00
Sirius DevOps
c087b223e9
fix(ci): build Android APK in a bookworm sibling container
All checks were successful
ci / test (pull_request) Successful in 4m57s
node:20-bullseye (the amd64 job image) is EOL; apt-get there fails on
expired/404 security indexes. Run JDK 17 + SDK/NDK + cargo-ndk inside
eclipse-temurin:17-jdk-bookworm via docker create + stdin tar, matching
the Rust CI pattern. Fetch a static docker CLI if the job image lacks
one. On publish failure after creating a tag, delete that tag so the
next run retries the same version (first release stays v0.1.0).
2026-09-12 01:14:43 -04:00
Sirius DevOps
c8693d2006
fix(ci): android-release HTTPS apt mirrors and dry_run input
All checks were successful
ci / test (pull_request) Successful in 7m9s
dind timed out on http://deb.debian.org:80. Flip sources to HTTPS.
Do not let workflow_call's boolean false clobber dispatch dry_run.
2026-09-12 01:00:42 -04:00
Sirius DevOps
1c4aaefb01
feat(android): auto-publish signed APK and AAR from CI
Some checks failed
ci / test (pull_request) Failing after 3m13s
Push to main that touches android/** builds a release APK + SDK AAR on
docker-amd64, verifies size/ABI/signature, and create-or-joins the Forgejo
release. Version is latest v*.*.* patch+1, or v0.1.0 when there are no tags.
Release signing uses repo secrets (ANDROID_KEYSTORE_*), not the debug key.
2026-09-12 00:54:17 -04:00