Skip to content

Conversation

@gribnoysup
Copy link
Collaborator

@gribnoysup gribnoysup commented Aug 27, 2025

You can use ${{ matrix.<value> }} in most job options, but not in if, so my initial attempt to make it work for selected values in workflow_dispatch failed. The only way around it is to build the whole matrix dynamically in another job, it's a bit messy, but should work

@gribnoysup gribnoysup requested a review from a team as a code owner August 27, 2025 10:16
@github-actions github-actions bot added the fix label Aug 27, 2025
@gribnoysup gribnoysup added no release notes Fix or feature not for release notes no-title-validation Skips validation of PR titles (conventional commit adherence + JIRA ticket inclusion) labels Aug 27, 2025
@gribnoysup
Copy link
Collaborator Author

Okay, I figured out how I can actually try to run it and it seems to work now #7235

@gribnoysup gribnoysup merged commit d5b49c4 into main Aug 27, 2025
54 of 57 checks passed
@gribnoysup gribnoysup deleted the build-dynamic-matrix-because-using-matrix-in-if-would-be-too-logical branch August 27, 2025 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix no release notes Fix or feature not for release notes no-title-validation Skips validation of PR titles (conventional commit adherence + JIRA ticket inclusion)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants