joshuathemiller/Conditional Build Matrix
Provides an easier way to filter matrix elements!
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| inputFile | The file that contains the JSON configuration of the matrix elements. Must come after a Checkout. | yes | .github/workflows/matrix_includes.json |
| filter | The JMESPath JSON query to apply to the input file. | yes | — |
| addInclude | Wrap the output from the JSON query in an "{include: ...}" object. | no | true |
Outputs
| name | description |
|---|---|
| matrix | The filtered "strategy.matrix" statement created from filtering the "inputFile". |