From 8d3aea8aca446cdef5bfbb9be3321d29022a8f21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patryk=20Kami=C5=84ski?= Date: Tue, 4 Nov 2025 09:05:51 +0000 Subject: [PATCH] [CI][Benchmarks] Fix pushing results to new branch --- devops/actions/run-tests/benchmark/action.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/devops/actions/run-tests/benchmark/action.yml b/devops/actions/run-tests/benchmark/action.yml index f90eb62f6d4e9..7321dc5aa932c 100644 --- a/devops/actions/run-tests/benchmark/action.yml +++ b/devops/actions/run-tests/benchmark/action.yml @@ -37,9 +37,6 @@ inputs: type: string required: False -env: - BENCHMARK_RESULTS_BRANCH: "sycl-benchmark-ci-results" - runs: # composite actions don't make use of 'name', so copy-paste names as a comment in the first line of each step using: "composite" @@ -164,6 +161,14 @@ runs: sudo cmake --install build cd - + - name: Set env var for results branch + shell: bash + run: | + # Set env var for results branch + # Set BENCHMARK_RESULTS_BRANCH globally for all subsequent steps. + # This has to be done this way because of limits of composite actions. + BENCHMARK_RESULTS_BRANCH="sycl-benchmark-ci-results" + echo "BENCHMARK_RESULTS_BRANCH=$BENCHMARK_RESULTS_BRANCH" >> $GITHUB_ENV - name: Checkout results repo uses: actions/checkout@v5 with: