Skip to content

Clarify case-(in)sensitivity for matrix.<keys> #27200

Description

@jsoref

Code of Conduct

What article on docs.github.com is affected?

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions
https://docs.github.com/en/actions/learn-github-actions/contexts#matrix-context

What part(s) of the article would you like to see updated?

Add an indication whether or not matrix elements are case sensitive.

Additional information

Some sections indicate if items are case sensitive / case insensitive.

Developers of one project w/ which I have some affiliation were asking whether matrix.<key> would be case sensitive.

Here's a subset of the workflow they had:

jobs:
linux:
strategy:
fail-fast: falsematrix:
arch:
- amd64include:
- arch: amd64CC: x86_64-linux-gnu
- arch: arm64CC: aarch64-linux-gnuruns-on: ubuntu-22.04env:
AR: ${{ matrix.CC }}-arCHOST: ${{ matrix.cc }}CC: ${{ matrix.cc }}-gccCPP: ${{ matrix.cc }}-cppCXX: ${{ matrix.cc }}-g++

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    actionsThis issue or pull request should be reviewed by the docs actions teamcontentThis issue or pull request belongs to the Docs Content teamnever-staleDo not close as stalewaiting for reviewIssue/PR is waiting for a writer's review

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions