From a508edb884f9a0e7de0416b286b3328c8be7d52f Mon Sep 17 00:00:00 2001 From: Arsenii Lyashenko Date: Mon, 11 Nov 2024 18:08:45 +0300 Subject: [PATCH] fix(ci): WASM benchmark never run (#4332) --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5f277af5fbc..43f7c68cc53 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -126,7 +126,7 @@ jobs: - name: "Test: Benchmarks in WASM" # unoptimized benchmarks take a few hours to run - if: ${{ matrix.profile == 'release' }} + if: ${{ matrix.profiles.name == 'release' }} run: | cargo build -p gear-cli --features=runtime-benchmarks,runtime-benchmarks-checkers ${{ matrix.profiles.flags }} # check that perf benchmarks works. `--steps=5` need to test, that benchmarks works for different input number.