File tree 1 file changed +4
-1
lines changed
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -362,7 +362,10 @@ jobs:
362
362
363
363
- name : Write benchmark HTML
364
364
shell : bash
365
- run : node --input-type=module -e "$(curl -sSL https://raw.githubusercontent.com/benchmark-action/github-action-benchmark/master/src/default_index_html.ts) console.log(DEFAULT_INDEX_HTML)" > "$WWW_DIR/bench/index.html"
365
+ run : |
366
+ node --input-type=module -e "$(curl -sSL https://raw.githubusercontent.com/benchmark-action/github-action-benchmark/master/src/default_index_html.ts) console.log(DEFAULT_INDEX_HTML)" > "$WWW_DIR/bench/index.html"
367
+ sed -i '/ const data = window.BENCHMARK_DATA;/a\
368
+ data.entries.Benchmark = data.entries.Benchmark.slice(-365)' "$WWW_DIR/bench/index.html"
366
369
367
370
- name : Push to gh-pages
368
371
# Do not deploy PRs, only benchmark main branch.
You can’t perform that action at this time.
0 commit comments