Skip to content

Commit 0a1439d

Browse files
committed
Hardcode output.txt path on the runner directory
1 parent 9b256e9 commit 0a1439d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/action.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ jobs:
7979
- name: Run search benchmarks
8080
#run: cargo criterion --bench search-benchmarks --message-format=json -- LIGHT 1> search-benchmarks-${BENCH_TIMESTAMP}.json
8181
run: cargo criterion --bench search-benchmarks --message-format=json -- LIGHT | tee output.txt
82+
# examples are broken on https://github.com/benchmark-action/github-action-benchmark/tree/master/examples/criterion-rs
83+
#run: cargo bench -- --output-format bencher | tee output.txt ... nope: error: Unrecognized option: 'output-format'
8284
- name: Where is output.txt
8385
run: pwd && ls -alh && find .. -iname 'output.txt'
8486
# - name: Store requests benchmark result
@@ -97,7 +99,7 @@ jobs:
9799
with:
98100
name: Search benchmark
99101
tool: 'cargo'
100-
output-file-path: ./htsget-rs/output.txt
102+
output-file-path: /home/runner/work/htsget-rs/htsget-rs/output.txt
101103
#external-data-json-path: search-benchmarks.json
102104
fail-on-alert: false
103105
# Access token to deploy GitHub Pages branch

0 commit comments

Comments
 (0)