Skip to content

fix(ci): emit the gui-publish channel matrix as a flat JSON array#142

Merged
agentjp merged 1 commit into
masterfrom
fix/gui-publish-channel-matrix
Jul 20, 2026
Merged

fix(ci): emit the gui-publish channel matrix as a flat JSON array#142
agentjp merged 1 commit into
masterfrom
fix/gui-publish-channel-matrix

Conversation

@agentjp

@agentjp agentjp commented Jul 20, 2026

Copy link
Copy Markdown
Owner

publish-gui-verify.ps1 passed the selected channel list to ConvertTo-Json positionally, where it lands in -InputObject and is serialized as a single object; -AsArray then wrapped it a second time, emitting a nested array. fromJson on that value produced a one-element prepare matrix whose channel was the entire list, so no per-channel step matched and the payload upload failed on an empty directory.

Switch to the pipeline form: the elements are enumerated individually and -AsArray re-wraps a lone element, so a single-channel dispatch still yields a JSON array.

Observed on the first prepare-only dispatch of gui-publish.yml (the rehearsal lane doing its job); verify and the per-channel logic were unaffected.

@agentjp
agentjp merged commit a619689 into master Jul 20, 2026
27 checks passed
@agentjp
agentjp deleted the fix/gui-publish-channel-matrix branch July 20, 2026 18:02
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