docs icon indicating copy to clipboard operation
docs copied to clipboard

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

Open jsoref opened this issue 2 years ago • 13 comments
trafficstars

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: false
      matrix:
        arch:
          - amd64
        include:
          - arch: amd64
            CC: x86_64-linux-gnu
          - arch: arm64
            CC: aarch64-linux-gnu
    runs-on: ubuntu-22.04
    env:
      AR: ${{ matrix.CC }}-ar
      CHOST: ${{ matrix.cc }}
      CC: ${{ matrix.cc }}-gcc
      CPP: ${{ matrix.cc }}-cpp
      CXX: ${{ matrix.cc }}-g++

jsoref avatar Aug 01 '23 15:08 jsoref

@jsoref Thanks for opening an issue and providing the workflow. I'll get this triaged for review 👀

cmwilson21 avatar Aug 02 '23 13:08 cmwilson21

#https://reyal,metrixEngineering Scorecard for Metrix.com could not be generated. Please check the repository name & make sure it is part of github organization

Bryanbasor avatar Oct 08 '23 07:10 Bryanbasor

@cmwilson21

jsoref avatar Feb 12 '24 16:02 jsoref

Reopened

nguyenalex836 avatar Feb 12 '24 20:02 nguyenalex836

matrix.CC

AMER88795 avatar Feb 20 '24 00:02 AMER88795

jobs: linux: strategy: fail-fast: false matrix: arch: - amd64 include: - arch: amd64 CC: x86_64-linux-gnu - arch: arm64 CC: aarch64-linux-gnu runs-on: ubuntu-22.04 env: AR: ${{ matrix.CC }}-ar CHOST: ${{ matrix.cc }} CC: ${{ matrix.cc }}-gcc CPP: ${{ matrix.cc }}-cpp CXX: ${{ matrix.cc }}-g++

AMER88795 avatar Feb 20 '24 00:02 AMER88795

Thank you for the help. I'm going to shut everything down for the night and I will finish any unresolved issues in the morning. So nice to finally have my accounts almost secured and verified. I will never make the mistake a publishing under a pseudonym again.

Graysonbarton avatar Feb 20 '24 02:02 Graysonbarton

شكرا

احصل على Outlook for Androidhttps://aka.ms/AAb9ysg


From: Grayson Barton @.> Sent: Tuesday, February 20, 2024 5:03:31 AM To: github/docs @.> Cc: AMER88795 @.>; Comment @.> Subject: Re: [github/docs] Clarify case-(in)sensitivity for matrix.<keys> (Issue #27200)

Thank you for the help. I'm going to shut everything down for the night and I will finish any unresolved issues in the morning. So nice to finally have my accounts almost secured and verified. I will never make the mistake a publishing under a pseudonym again.

— Reply to this email directly, view it on GitHubhttps://github.com/github/docs/issues/27200#issuecomment-1953371210, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BDZ4HAS75IFBW4UCJLTQV73YUP77HAVCNFSM6AAAAAA277PS2OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJTGM3TCMRRGA. You are receiving this because you commented.Message ID: @.***>

AMER88795 avatar Feb 20 '24 02:02 AMER88795

@nguyenalex836

jsoref avatar May 15 '24 16:05 jsoref

@nguyenalex836

jsoref avatar Jul 22 '24 17:07 jsoref