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:
parent
698776f137
commit
8c40b8544b
2 changed files with 3 additions and 2 deletions
3
.github/workflows/ci.generate.ts
vendored
3
.github/workflows/ci.generate.ts
vendored
|
@ -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) =>
|
||||||
|
|
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue