Skip to content

[FEATURE] ci: signed APK via GitHub Actions - #2

Merged
Prince-of-Nothing merged 6 commits into
mainfrom
infra/github-actions-apk
Nov 23, 2026
Merged

Prince-of-Nothing merged 6 commits into
mainfrom
infra/github-actions-apk

Conversation

@Prince-of-Nothing

Copy link
Copy Markdown
Collaborator

What changed

  • Adds .github/workflows/build-apk.yml: JDK 17, Gradle 8.9, Android SDK 35, unit tests,
    signed assembleRelease, artifact upload.
  • Wires release signing from GitHub secrets (SIGNING_*) into app/build.gradle.kts.
  • Commits the generated avatar.glb so CI can bundle the model into the APK.
  • Adds a reset button for the avatar sliders.

Testing

Not run locally — no JDK/Gradle/Android SDK was available when this was written. The
workflow runs :app:testDebugUnitTest before assembling the APK; check its result here.

Add workflow that sets up JDK 17, Gradle 8.9 and Android SDK 35, decodes the signing keystore from repository secrets, runs unit tests, assembles a signed release APK and uploads it as an artifact. Commit the generated avatar GLB so CI bundles the model.
Let users return the mannequin to its default shape in one tap.
setup-android@v3 runs 'sdkmanager tools', a package Google no longer publishes. GitHub runners ship the Android SDK and sdkmanager already, so install the platform and build-tools directly.
GitHub runners ship sdkmanager under the Android SDK tree but not on PATH. Resolve it explicitly and pipe license acceptance.
kotlin.test.assertEquals compares arrays by reference; use assertContentEquals so the test checks the values.
Replace the 3-slider stylized mannequin with an MPFB-generated realistic human. The Blender script samples 16 macro extremes plus MPFB detail targets into 24 named morph targets. The app reads target names and defaults from the GLB and generates one slider per target, with weights persisted by name.
@Prince-of-Nothing
Prince-of-Nothing merged commit 62c6f4c into main Nov 23, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant