From 8c40b8544b2776e7f2f88aaedc9dbb64a1d94f4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Sun, 20 Aug 2023 17:43:50 +0200 Subject: [PATCH] ci: fix bench step (#20216) --- .github/workflows/ci.generate.ts | 3 ++- .github/workflows/ci.yml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.generate.ts b/.github/workflows/ci.generate.ts index 4ac3495ba1..728a9d7682 100755 --- a/.github/workflows/ci.generate.ts +++ b/.github/workflows/ci.generate.ts @@ -422,7 +422,8 @@ const ci = { }, installRustStep, { - if: "matrix.job == 'lint' || matrix.job == 'test'", + if: + "matrix.job == 'lint' || matrix.job == 'test' || matrix.job == 'bench'", ...installDenoStep, }, ...installPythonSteps.map((s) => diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0b498c8e17..bfbdb5c9c1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -147,7 +147,7 @@ jobs: -czvf target/release/deno_src.tar.gz -C .. deno - uses: dsherret/rust-toolchain-file@v1 if: '!(github.event_name == ''pull_request'' && matrix.skip_pr)' - - if: '!(github.event_name == ''pull_request'' && matrix.skip_pr) && (matrix.job == ''lint'' || matrix.job == ''test'')' + - if: '!(github.event_name == ''pull_request'' && matrix.skip_pr) && (matrix.job == ''lint'' || matrix.job == ''test'' || matrix.job == ''bench'')' name: Install Deno uses: denoland/setup-deno@v1 with: