Skip to content

fix: declare explicit matrix axes for CI workflow#10

Merged
yfridelance merged 1 commit into
developfrom
fix/ci-matrix-syntax
Feb 26, 2026
Merged

fix: declare explicit matrix axes for CI workflow#10
yfridelance merged 1 commit into
developfrom
fix/ci-matrix-syntax

Conversation

@yfridelance
Copy link
Copy Markdown
Owner

Summary

  • GitHub Actions requires matrix dimensions (os, shell) to be declared as explicit arrays, not only via include
  • Using include-only caused Unrecognized named-value: matrix errors when referencing matrix.shell in step shell: fields
  • Fix: declare os: [ubuntu-latest, windows-latest] and shell: [pwsh] as base axes, then use include only for the extra PowerShell 5.1 combination

Test plan

  • CI workflow file passes GitHub Actions validation
  • Three matrix combinations run correctly: ubuntu/pwsh, windows/pwsh, windows/powershell

🤖 Generated with Claude Code

GitHub Actions requires matrix dimensions to be explicitly declared,
not only via 'include'. Using include-only causes 'Unrecognized
named-value: matrix' errors when referencing matrix.shell in steps.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@yfridelance yfridelance merged commit 822210c into develop Feb 26, 2026
@yfridelance yfridelance deleted the fix/ci-matrix-syntax branch February 26, 2026 17:56
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