Skip to content

ci: rebuild Android APK only on client changes - #269

Merged
Vodkadav merged 2 commits into
mainfrom
ci/apk-path-filter
Jul 20, 2026
Merged

ci: rebuild Android APK only on client changes#269
Vodkadav merged 2 commits into
mainfrom
ci/apk-path-filter

Conversation

@Vodkadav

Copy link
Copy Markdown
Owner

The release-apk job installs the full Android SDK+NDK and runs a headless Godot export (~15 min) but ran on every merge to main — including docs-, worker-, and workflow-only merges that cannot affect the APK.

This gates release-apk behind a client/** paths-filter. The cheap Cloudflare worker/pages deploys stay unconditional so the landing-page build SHA still refreshes on every merge.

Why: TankGame is the top GitHub Actions minute consumer on the account ($4.88 gross/month). Most merges don't touch client/**, so this avoids the bulk of those ~15-min Android builds — the single biggest Actions saving across the portfolio.

Trade-off: the canary APK release now rebuilds only when client/** changes (which is correct — nothing else affects the APK).

🤖 Generated with Claude Code

Daniel Machado and others added 2 commits July 18, 2026 21:56
The release-apk job installs the full Android SDK+NDK and runs a headless
Godot export (~15 min) but ran on every merge to main, including docs-,
worker-, and workflow-only merges that cannot affect the APK. Gate it
behind a client/** paths-filter. The cheap Cloudflare worker/pages deploys
stay unconditional so the landing-page build SHA still refreshes on every
merge. Biggest Actions-minute saving across the account.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The nested bullets under "Audit hypotheses" were indented 2 spaces but
follow a paragraph, not a parent list item, so markdownlint flagged them
as top-level list items with wrong indent. Dedent to 0. Pre-existing red
on main (from #268) that was also failing this PR's Markdown lint check.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@Vodkadav
Vodkadav merged commit e08ffef into main Jul 20, 2026
8 checks passed
@Vodkadav
Vodkadav deleted the ci/apk-path-filter branch July 20, 2026 09:16
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