Commit Graph
34 Commits
Author SHA1 Message Date
austinried 23911fceb5 ci: build signed debug and release next builds on every main push
Commit a public debug keystore and point the debug signing config at it,
and add a next build type (release-like, same key). Both carry the .next
application id, so next builds install alongside the release and update
each other without exposing the release key. A GitHub workflow builds
both APKs on every push to main and uploads them as artifacts.
2026-10-08 18:52:43 +00:00
austinried f506ac0410 release: publish signed builds on v* tags
Set applicationId to com.subtracks and add a GitHub Actions workflow
that, on a v* tag, builds and signs the release APK and AAB, creates
the GitHub release with the APK, and uploads the AAB to Google Play.
Release notes come from the matching metadata changelog.

Signing reads the keystore from the environment
(RELEASE_KEYSTORE, RELEASE_KEYSTORE_PASSWORD, RELEASE_KEY_ALIAS,
RELEASE_KEY_PASSWORD) and falls back to the debug key locally.
2026-10-08 18:52:43 +00:00
austinried eef94eff63 ci: move to actions/checkout v7 and actions/cache v6, pin ubuntu-26.04
The v4 pair targets Node 20, which GitHub now forces onto Node 24 (Node 20 is
deprecated). The Forgejo runner is v13, which runs Node 24, so both copies move
together. Pin the GitHub runner to ubuntu-26.04: ubuntu-latest migrates to it
over Oct 19 - Nov 19, 2026, and Nix supplies the toolchain either way.
2026-10-05 13:50:54 +00:00
austinried 126065e705 ci: run the workflow on GitHub pull requests
Add .github/workflows/ci.yml, a copy of the Forgejo CI workflow adapted to
GitHub-hosted runners (ubuntu-latest + cachix/install-nix-action), so pull
requests on the GitHub mirror get the lint, unit-test and integration checks.
The GitHub copy uses a 90 minute timeout so a cold run can finish and warm the
caches, caps the Nix cache so it cannot evict the Gradle/music caches from
GitHub's 10 GB per-repo budget, and pins the job token to contents:read.
2026-10-04 08:07:14 +00:00
austinried 05ac1768d3 start kotlin/jetpack compose rewrite
replace the flutter project with a gradle/compose android app:
- nix flake dev shell (jdk21, android sdk 35, build-tools 37, gradle)
- material3 app with a placeholder screen
- roborazzi/robolectric screenshot tests with one golden
- carry over the existing launcher/notification assets
2026-10-04 00:29:51 +00:00
austinried 4918c3be01 don't use build number in version 2023-04-28 16:04:59 +09:00
austinried 3468c7faf8 build on tags 2023-04-28 12:58:49 +09:00
austinried f453ca1c01 setup workflows for main 2023-04-28 12:26:02 +09:00
austinried bbd04a10b4 create .env file first 2023-04-28 12:26:02 +09:00
austinried b2f8ef6f38 rename workflow 2023-04-28 12:26:02 +09:00
austinried c81162c1f3 aab build, release signing
clean up analyze issues
2023-04-28 12:26:02 +09:00
austinried 0b698c30c0 get version? 2023-04-28 12:26:02 +09:00
austinried 16e3b1b9ea use a valid .env file from example 2023-04-28 12:26:02 +09:00
austinried 3765a55bb5 please grab artifact 2023-04-28 12:26:02 +09:00
austinried 547266f64c forgot .env file 2023-04-28 12:26:02 +09:00
austinried 2f9f2701a6 signing config & build apk 2023-04-28 12:26:02 +09:00
austinried eaecda6aab v2 2023-04-28 12:26:02 +09:00
austinried f0188e0279 don't require build for i18n file PRs 2022-04-16 17:01:39 +09:00
austinried 6a0e2c8be2 update build to main branch
add new ignores
2022-03-28 14:32:08 +09:00
austinried fed4a4b217 run validation before yarn license (#77)
* run validation before yarn license

* attempt to fix CI errors

https://github.com/yarnpkg/yarn/issues/7212
2022-03-28 14:05:49 +09:00
austinried a061a2d093 remove gradle wrapper that fails validation 2021-09-07 16:48:49 +09:00
austinried 85aaef4528 enable ffmpeg prep for GH builds 2021-09-07 15:23:57 +09:00
austinried ad829ed93a added licenses and webview for them
added link to github page
2021-08-26 12:47:56 +09:00
austinried 3e3523baa8 lint builds 2021-08-26 08:07:32 +09:00
austinried 06c533be48 stop building on non-app file changes 2021-08-24 15:57:46 +09:00
austinried 4bc46489cb better name/group artifacts 2021-08-24 15:31:22 +09:00
austinried d59d473be6 looks to be working, set to only release tags 2021-08-24 11:13:03 +09:00
austinried 13e4321d8b missed a character 2021-08-24 10:59:02 +09:00
austinried 28b05cb413 fix run syntax 2021-08-24 10:57:41 +09:00
austinried 45b2039eff test release signing w/secrets 2021-08-24 10:54:18 +09:00
austinried 5166511ca2 test gradle validation/caching 2021-08-24 09:27:00 +09:00
austinried d25e723d07 test gradle build/artifact 2021-08-23 22:36:18 +09:00
austinried e391069c81 test yarn 2021-08-23 22:26:06 +09:00
austinried 5dab99c173 test actions 2021-08-23 22:07:37 +09:00