File tree 2 files changed +5
-6
lines changed
2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -159,5 +159,5 @@ jobs:
159
159
if : ${{ always() && inputs.upload_report }}
160
160
uses : actions/cache/save@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
161
161
with :
162
- path : ${{env.BUILD_DIR}} /benchmark_results.html
162
+ path : umf-repo/build /benchmark_results.html
163
163
key : benchmark-results-${{ github.run_id }}
Original file line number Diff line number Diff line change @@ -45,20 +45,19 @@ jobs:
45
45
-DUMF_DISABLE_HWLOC=ON
46
46
cmake --build build --target docs
47
47
48
- - name : Download benchmark HTML before uploading with documentation on GitHub pages
49
- # If the benchmark results are meant to be uploaded on GH pages
48
+ # If we upload HTML docs, we want to include benchmark results as well
49
+ - name : Download benchmark HTML before uploading docs
50
50
if : ${{ inputs.upload == true }}
51
51
id : download-bench-html
52
52
uses : actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
53
53
with :
54
- path : ${{github.workspace}} /build/benchmark_results.html
54
+ path : umf-repo /build/benchmark_results.html
55
55
key : benchmark-results-
56
56
57
57
- name : Move benchmark HTML
58
58
if : ${{ inputs.upload == true && steps.download-bench-html.outputs.cache-hit != '' }}
59
- # exact or partial cache hit
60
59
run : |
61
- mv ${{ github.workspace }} /build/benchmark_results.html ${{ github.workspace }}/build/docs_build/generated/html
60
+ mv umf-repo /build/benchmark_results.html ${{github.workspace}}/build/docs_build/generated/html
62
61
63
62
- name : Upload artifact
64
63
if : ${{ inputs.upload == true }}
You can’t perform that action at this time.
0 commit comments