From 902b5d647fd70c739c01cdb6c7f31c185e79374e Mon Sep 17 00:00:00 2001 From: not-matthias Date: Fri, 3 Oct 2025 18:34:44 +0200 Subject: [PATCH] fix(ci): add mode param --- .github/workflows/ci.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 12ed355..e174912 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -85,9 +85,8 @@ jobs: - name: Run the benchmarks uses: CodSpeedHQ/action@main if: matrix.codspeed-mode != 'off' - env: - CODSPEED_PERF_ENABLED: true with: + mode: ${{ matrix.codspeed-mode }} run: examples/google_benchmark_cmake/build/benchmark_example token: ${{ secrets.CODSPEED_TOKEN }} @@ -124,9 +123,8 @@ jobs: - name: Run the benchmarks uses: CodSpeedHQ/action@main if: matrix.codspeed-mode != 'off' - env: - CODSPEED_PERF_ENABLED: true with: + mode: ${{ matrix.codspeed-mode }} run: bazel run //examples/google_benchmark_bazel:my_benchmark --//core:codspeed_mode=${{ matrix.codspeed-mode }} token: ${{ secrets.CODSPEED_TOKEN }}