Skip to content

Commit eab54b1

Browse files
committed
fix: remove ${{ }} template expressions from action.yaml output descriptions to prevent evaluation failure in composite action context
1 parent 76aa593 commit eab54b1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/actions/compute-matrix/action.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)