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

     1  name: test
     2  
     3  on: push
     4  
     5  jobs:
     6    test:
     7      runs-on: ubuntu-latest
     8      strategy:
     9        matrix:
    10          val: ["success", "failure"]
    11        fail-fast: false
    12      steps:
    13        - name: test
    14          run: |
    15            echo "Expected job result: ${{ matrix.val }}"
    16            [[ "${{ matrix.val }}" = "success" ]] || exit 1