File tree Expand file tree Collapse file tree
.github/actions/compute-matrix Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,13 +16,13 @@ outputs:
1616 matrix :
1717 description : >
1818 Use this for single-dimension sample matrices.
19- JSON object {"sample":["path/a","path/b"]} ready for: matrix: ${{ fromJson(needs.setup.outputs.matrix) }}
19+ JSON object {"sample":["path/a","path/b"]} - assign directly to the matrix: key using fromJson().
2020 Returns the string "[]" when no samples changed (use in an if: guard to skip the job).
2121 value : ${{ steps.filter.outputs.matrix }}
2222 samples :
2323 description : >
2424 Use this for multi-dimensional matrices (e.g. os + sample, php-version + sample).
25- Plain JSON array ["path/a","path/b"] to assign to the sample: dimension only.
25+ Plain JSON array ["path/a","path/b"] - assign to the sample: dimension only using fromJson() .
2626 Returns the string "[]" when no samples changed (use in an if: guard to skip the job).
2727 value : ${{ steps.filter.outputs.samples }}
2828
You can’t perform that action at this time.
0 commit comments