github.com/nektos/act@v0.2.63/pkg/runner/testdata/matrix-include-exclude/push.yml (about) 1 name: matrix-include-exclude 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 exclude: 17 - os: macos-latest 18 node: 4 19 include: 20 - os: ubuntu-16.04 21 node: 10 22 23 test: 24 runs-on: ubuntu-latest 25 strategy: 26 matrix: 27 node: [8.x, 10.x, 12.x, 13.x] 28 steps: 29 - run: echo ${NODE_VERSION} | grep ${{ matrix.node }} 30 env: 31 NODE_VERSION: ${{ matrix.node }}