docs
docs copied to clipboard
Clarify case-(in)sensitivity for `matrix.<keys>`
Code of Conduct
- [X] I have read and agree to the GitHub Docs project's 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 Thanks for opening an issue and providing the workflow. I'll get this triaged for review 👀
#https://reyal,metrix
Engineering Scorecard for Metrix.com could not be generated. Please check the repository name & make sure it is part of github organization
@cmwilson21
Reopened
matrix.CC
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++
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.
شكرا
احصل على 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: @.***>
@nguyenalex836
@nguyenalex836