如何在矩阵策略中检查单个作业的状态?
jobs:
- job: A
strategy:
matrix:
nonprod:
environment: test
prod:
environment: prod
steps:
- pwsh: Write-host something random
- job: B
dependsOn: A
condition: how do I check only the prod portion of the Job A ?
steps:
- pwsh: Write-Host this should run regardless of nonprod matrix portion, but only if prod has succeeded.