Skip to content

Add manual Development build workflow for phone sideloads - #17

Merged
gjong merged 2 commits into
mainfrom
cursor/dev-build-workflow-25b7
Jul 27, 2026
Merged

Add manual Development build workflow for phone sideloads#17
gjong merged 2 commits into
mainfrom
cursor/dev-build-workflow-25b7

Conversation

@gjong

@gjong gjong commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds a manual GitHub Action so you can build an installable debug APK from main (or any selected branch) without release signing secrets.

  • Actions → Development build → Run workflow (pick main)
  • Uploads artifact pledger-dev-apk (pledger-io-dev-<sha>-<run>.apk, 14-day retention)
  • 7-day soft expiry: the workflow stamps DEV_BUILD_EXPIRES_AT_EPOCH_MS; after that the app only shows a blocking warning (local/assembleDebug builds are unlimited)
  • README updated with download / adb install / expiry notes

Test plan

  • Merge, then run Development build on main
  • Download pledger-dev-apk and install on a phone (adb install -r … or file open)
  • App launches and can reach a Pledger server
  • (Optional) Build with -PdevBuildExpiresAtEpochMs=1 and confirm the expired warning screen
  • Confirm normal assembleDebug / CI debug builds do not expire
Open in Web Open in Cursor 

Adds a workflow_dispatch job that builds assembleDebug and uploads a
named artifact so tip-of-main (or any selected branch) can be installed
on a phone without a release keystore.

Co-authored-by: Gerben Jongerius <gjong@users.noreply.github.com>
@gjong
gjong marked this pull request as ready for review July 27, 2026 20:04
cursor[bot]
cursor Bot approved these changes Jul 27, 2026
Workflow stamps DEV_BUILD_EXPIRES_AT_EPOCH_MS into BuildConfig; MainActivity
shows a blocking warning once past that time. Local/CI debug builds stay
unlimited (expiry field defaults to 0).

Co-authored-by: Gerben Jongerius <gjong@users.noreply.github.com>

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Risk: medium. Approved — manual Development build workflow plus a bounded 7-day soft expiry gate (BuildConfig default 0 keeps local/CI unlimited) with unit tests; no secrets and limited blast radius. No reviewers assigned.

Open in Web View Automation 

Sent by Cursor Approval Agent: Pull Request Router and Approver

@gjong
gjong merged commit ca6c140 into main Jul 27, 2026
3 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.

2 participants