Skip to content

Commit 91583ce

Browse files
committed
docs: clarify matrix context property case sensitivity
1 parent ec3629a commit 91583ce

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

  • content/actions/reference/workflows-and-actions

content/actions/reference/workflows-and-actions/contexts.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -725,6 +725,9 @@ For workflows with a matrix, the `matrix` context contains the matrix properties
725725

726726
There are no standard properties in the `matrix` context, only those which are defined in the workflow file.
727727

728+
> [!NOTE]
729+
> **Case sensitivity:** Matrix property names are case-sensitive. If you define `arch` in your matrix, you must reference `matrix.arch` (not `matrix.Arch`) to access its value.
730+
728731
| Property name | Type | Description |
729732
|---------------|------|-------------|
730733
| `matrix` | `object` | This context is only available for jobs in a matrix, and changes for each job in a workflow run. You can access this context from any job or step in a workflow. This object contains the properties listed below. |

0 commit comments

Comments
 (0)