Skip to content

Commit af038b6

Browse files
committed
trigger test only when the test case length > 0
Signed-off-by: chensuyue <suyue.chen@intel.com>
1 parent 59d8beb commit af038b6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/push-image-build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424

2525
image-build:
2626
needs: job1
27+
if: always() && ${{ needs.job1.outputs.run_matrix.example.length > 0 }}
2728
strategy:
2829
matrix: ${{ fromJSON(needs.job1.outputs.run_matrix) }}
2930
fail-fast: false

0 commit comments

Comments
 (0)