File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ jobs:
116116 needs :
117117 - prepare
118118 - build-torch
119- if : ${{ success() || needs.build-torch.result == 'skipped'}}
119+ if : ${{ success() || needs.build-torch.result == 'skipped' }}
120120 uses : ./.github/workflows/_ascend_npu_build_torch_npu.yml
121121 with :
122122 runner : ${{ needs.prepare.outputs.runner }}
@@ -129,7 +129,7 @@ jobs:
129129 - prepare
130130 - build-torch
131131 - build
132- if : ${{ success() || needs.build-torch.result == 'skipped'}}
132+ if : ${{ success() || ( needs.build-torch.result == 'skipped' && needs.build.result == 'success') }}
133133 uses : ./.github/workflows/_ascend_npu_ut.yml
134134 with :
135135 runner : ${{ needs.prepare.outputs.runner }}
@@ -145,7 +145,7 @@ jobs:
145145 - build-torch
146146 - build
147147 - test
148- if : ${{ success() || needs.build-torch.result == 'skipped'}}
148+ if : ${{ success() || ( needs.build-torch.result == 'skipped' && needs.build.result == 'success') }}
149149 uses : ./.github/workflows/_ascend_npu_benchmark.yml
150150 with :
151151 runner : ${{ needs.prepare.outputs.runner }}
You can’t perform that action at this time.
0 commit comments