longregen / moodtracker

fix: screenshot generation error (#32)
* Fix screenshot workflow disk space error - Add step to free up disk space by removing unused tools (.NET, NDK, old build-tools, GHC, CodeQL, PowerShell, Swift) - Add disk-size: 4G parameter to reduce emulator userdata partition from default 7.3GB to 4GB The emulator was failing with "Not enough space to create userdata partition. Available: 3320.80 MB, need 7372.80 MB." * Split screenshot workflow into build and emulator jobs Use two separate jobs to avoid disk space issues: - build: Builds APK using Nix, uploads as artifact - screenshots: Downloads APK, runs emulator on fresh runner Each job gets its own runner with full disk space, eliminating the need for disk cleanup steps. The jobs are sequenced using `needs` and the APK is passed via upload-artifact/download-artifact. This is a cleaner solution than removing pre-installed tools. --------- Co-authored-by: Claude <noreply@anthropic.com>
lon lon committed on Dec 28, 2025, 01:57 AM
Showing 1 changed files +47 additions -14 deletions
Browse files at this commit โ†’