1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -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 GitHub
parent 32bbba3db2
commit efdf0bbd9b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -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) =>

View file

@ -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: