github.com/nektos/act@v0.2.63/pkg/runner/testdata/matrix/push.yml (about) 1 name: matrix 2 on: push 3 4 jobs: 5 build: 6 name: PHP ${{ matrix.os }} ${{ matrix.node}} 7 runs-on: ${{ matrix.os }} 8 steps: 9 - run: echo ${NODE_VERSION} | grep ${{ matrix.node }} 10 env: 11 NODE_VERSION: ${{ matrix.node }} 12 strategy: 13 matrix: 14 os: [ubuntu-18.04, macos-latest] 15 node: [4, 6, 8, 10] 16 17 test: 18 runs-on: ubuntu-latest 19 strategy: 20 matrix: 21 node: [8.x, 10.x, 12.x, 13.x] 22 steps: 23 - run: echo ${NODE_VERSION} | grep ${{ matrix.node }} 24 env: 25 NODE_VERSION: ${{ matrix.node }}