From 0a1439d4da6ec7712ff06dc300467786e3df4672 Mon Sep 17 00:00:00 2001 From: Roman Valls Guimera Date: Wed, 21 Dec 2022 13:49:02 +1100 Subject: [PATCH] Hardcode output.txt path on the runner directory --- .github/workflows/action.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index e5c180420..bec92617d 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -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 @@ -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