You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Epic: the build — signing, the APK workflow, a release from a tag, and what a run costs #97
Delivered. Back-filled for the record; the whole of it is docs/build.md.
CI is exactly four things: ruff, pytest -n auto, ./gradlew test, and both assembles. The release build runs on every push, not only on a release: R8 and resource shrinking are the classic «worked in debug and broke in the installed APK».
apk.yml builds an installable APK on demand or on a v* tag, with version_name and version_code as inputs. With no keystore it signs with the debug key, says so as a warning, and refuses to publish a release that way.
Two megabytes came off the APK, and not one of them was a dependency.
A debug-signed build is never an update of another one — two debug-signed builds from different machines have different keys, and Android refuses the install rather than explaining. That is written down now.
retention-days: was removed from every workflow: this repository's own setting is lower than anything they asked for, so every request was silently reduced under a warning that reads like a build problem, while three documents went on quoting the number that had been asked for.
-n auto exists because a full run was twenty-one billed minutes while the repository was private. The repository is public now and standard runners cost nothing, but what the workflows still carry from those months is in docs/build.md, «Actions minutes», and is worth reading before undoing any of it.
Finished in #85: the eight repository secrets are documented with what reads each one and what happens without it, and ci.yml reads none of them — which is why a fork's pull request runs the whole gate.
Activity