github.com/nektos/act@v0.2.63/pkg/runner/testdata/matrix-with-user-inclusions/push.yml (about)

     1  name: matrix-with-user-inclusions
     2  on: push
     3  
     4  jobs:
     5    build:
     6      name: PHP ${{ matrix.os }} ${{ matrix.node}}
     7      runs-on: ubuntu-latest
     8      steps:
     9        - run: |
    10            echo ${NODE_VERSION} | grep 8
    11            echo ${OS_VERSION} | grep ubuntu-18.04
    12          env:
    13            NODE_VERSION: ${{ matrix.node }}
    14            OS_VERSION: ${{ matrix.os }}
    15      strategy:
    16        matrix:
    17          os: [ubuntu-18.04, macos-latest]
    18          node: [4, 6, 8, 10]
    19          exclude:
    20            - os: macos-latest
    21              node: 4
    22          include:
    23            - os: ubuntu-16.04
    24              node: 10
    25  
    26    test:
    27      runs-on: ubuntu-latest
    28      strategy:
    29        matrix:
    30          node: [8.x, 10.x, 12.x, 13.x]
    31      steps:
    32        - run: echo ${NODE_VERSION} | grep 8.x
    33          env:
    34            NODE_VERSION: ${{ matrix.node }}