secubox-deb/.github
CyberMind-FR 8d02cdc97b ci(build-packages): wire env: for discover inputs + tighten find pattern
Follow-up to the previous matrix-cap fix:

1. YAML/shell quoting hell: the inline ${{ github.event.inputs.arch }}
   substitution inside a single-quoted heredoc broke parsing on push:tags
   events (where inputs are null). Moved both inputs to step `env:` block
   so the shell script reads them as ordinary env vars.

2. Find pattern was `-name control -path "*/debian/*"`, which also matched
   dpkg-build artifacts at `packages/<pkg>/debian/<pkg>/DEBIAN/control` on
   any non-clean checkout. CI's runners are clean so it worked there, but
   the pattern is fragile. Tightened to `-path "*/debian/control" -not
   -path "*/debian/*/DEBIAN/control"`.

Verified locally: 132 amd64 + 2 arm64-eligible = 134 combos, well under
GH Actions' 256 jobs-per-matrix cap.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-17 09:07:21 +02:00
..
workflows ci(build-packages): wire env: for discover inputs + tighten find pattern 2026-05-17 09:07:21 +02:00