From ae9def4aecd6f15c3f9b6dd04aa0440ccc13302c Mon Sep 17 00:00:00 2001 From: Hugo Larcher Date: Sun, 2 Feb 2025 11:10:09 +0100 Subject: [PATCH] fix: test release. env not recognized https://github.com/actions/runner/issues/1661 --- .github/workflows/build.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 36eb0859..5edfb68d 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -249,7 +249,7 @@ jobs: backend_trtllm_cxx_tests: needs: build-and-push - if: needs.build-and-push.outputs.label == '-trtllm' && env.TARGET == 'ci-runtime' + if: needs.build-and-push.outputs.label == '-trtllm' concurrency: group: ${{ github.workflow }}-${{ github.job }}-trtllm-${{ github.head_ref || github.run_id }} cancel-in-progress: true @@ -264,4 +264,5 @@ jobs: steps: - name: Run C++/CUDA tests + if: ${{ env.LABEL == 'ci-runtime' }} run: /usr/local/tgi/bin/tgi_trtllm_backend_tests