1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-30 16:40:57 -05:00

ci: fix bench step (#20216)

This commit is contained in:
Bartek Iwańczuk 2023-08-20 17:43:50 +02:00 committed by Divy Srivastava
parent 698776f137
commit 8c40b8544b
2 changed files with 3 additions and 2 deletions

View file

@ -422,7 +422,8 @@ const ci = {
}, },
installRustStep, installRustStep,
{ {
if: "matrix.job == 'lint' || matrix.job == 'test'", if:
"matrix.job == 'lint' || matrix.job == 'test' || matrix.job == 'bench'",
...installDenoStep, ...installDenoStep,
}, },
...installPythonSteps.map((s) => ...installPythonSteps.map((s) =>

View file

@ -147,7 +147,7 @@ jobs:
-czvf target/release/deno_src.tar.gz -C .. deno -czvf target/release/deno_src.tar.gz -C .. deno
- uses: dsherret/rust-toolchain-file@v1 - uses: dsherret/rust-toolchain-file@v1
if: '!(github.event_name == ''pull_request'' && matrix.skip_pr)' 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 name: Install Deno
uses: denoland/setup-deno@v1 uses: denoland/setup-deno@v1
with: with: