Add condition to benchmark job in push-important-models.yml (#31259)

fix

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
Yih-Dar
2024-06-05 15:19:16 +02:00
committed by GitHub
parent b72752f068
commit d6276f0fc5

View File

@@ -136,5 +136,7 @@ jobs:
benchmark:
name: Benchmark workflow
needs: get_modified_models
if: ${{ needs.get_modified_models.outputs.matrix != '[]' && needs.get_modified_models.outputs.matrix != '' && fromJson(needs.get_modified_models.outputs.matrix)[0] != null }}
uses: ./.github/workflows/benchmark.yml
secrets: inherit