🤖 codex: skip app build on linux yolo (no-issue)

What:
- only build clawdbot-app on darwin during yolo updates

Why:
- linux runners don't expose clawdbot-app in flake outputs

Tests:
- nix flake check --accept-flake-config
- ubs --diff
This commit is contained in:
DJTBOT 2026-01-09 17:39:16 +01:00
parent 9125cb7cd5
commit a4eb80fec5

View File

@ -130,7 +130,12 @@ perl -0pi -e "s|url = \"[^\"]+\";|url = \"${app_url}\";|" "$app_file"
perl -0pi -e "s|hash = \"[^\"]+\";|hash = \"${app_hash}\";|" "$app_file"
log "Building app to validate fetchzip hash"
nix build .#clawdbot-app --accept-flake-config
current_system=$(nix eval --impure --raw --expr 'builtins.currentSystem' 2>/dev/null || true)
if [[ "$current_system" == *darwin* ]]; then
nix build .#clawdbot-app --accept-flake-config
else
log "Skipping app build on non-darwin system (${current_system:-unknown})"
fi
if git diff --quiet; then
echo "No pin changes detected."