Skip to content

Commit

Permalink
Hardcode output.txt path on the runner directory
Browse files Browse the repository at this point in the history
  • Loading branch information
brainstorm committed Dec 21, 2022
1 parent 9b256e9 commit 0a1439d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ jobs:
- name: Run search benchmarks
#run: cargo criterion --bench search-benchmarks --message-format=json -- LIGHT 1> search-benchmarks-${BENCH_TIMESTAMP}.json
run: cargo criterion --bench search-benchmarks --message-format=json -- LIGHT | tee output.txt
# examples are broken on https://github.com/benchmark-action/github-action-benchmark/tree/master/examples/criterion-rs
#run: cargo bench -- --output-format bencher | tee output.txt ... nope: error: Unrecognized option: 'output-format'
- name: Where is output.txt
run: pwd && ls -alh && find .. -iname 'output.txt'
# - name: Store requests benchmark result
Expand All @@ -97,7 +99,7 @@ jobs:
with:
name: Search benchmark
tool: 'cargo'
output-file-path: ./htsget-rs/output.txt
output-file-path: /home/runner/work/htsget-rs/htsget-rs/output.txt
#external-data-json-path: search-benchmarks.json
fail-on-alert: false
# Access token to deploy GitHub Pages branch
Expand Down

0 comments on commit 0a1439d

Please sign in to comment.