File tree Expand file tree Collapse file tree 4 files changed +13
-8
lines changed Expand file tree Collapse file tree 4 files changed +13
-8
lines changed Original file line number Diff line number Diff line change 22name : GitHubPages
33
44on :
5+ pull_request :
56 push :
67 branches : ["main"]
78
2021 upload : true
2122
2223 DocsDeploy :
24+ if : false
2325 name : Deploy docs to GitHub Pages
2426 needs : DocsBuild
2527
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ permissions:
1717
1818jobs :
1919 CodeChecks :
20+ if : false
2021 uses : ./.github/workflows/reusable_checks.yml
2122 DocsBuild :
2223 uses : ./.github/workflows/reusable_docs_build.yml
Original file line number Diff line number Diff line change @@ -159,5 +159,5 @@ jobs:
159159 if : ${{ always() && inputs.upload_report }}
160160 uses : actions/cache/save@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
161161 with :
162- path : ${{env.BUILD_DIR}} /benchmark_results.html
162+ path : umf-repo/build /benchmark_results.html
163163 key : benchmark-results-${{ github.run_id }}
Original file line number Diff line number Diff line change @@ -45,20 +45,22 @@ jobs:
4545 -DUMF_DISABLE_HWLOC=ON
4646 cmake --build build --target docs
4747
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
50- if : ${{ inputs.upload == true }}
48+ - name : Create dir for bench results
49+ run : mkdir -p umf-repo/build
50+
51+ # If we upload HTML docs, we want to include benchmark results as well
52+ - name : Download benchmark HTML before uploading docs
53+ # if: ${{ inputs.upload == true }}
5154 id : download-bench-html
5255 uses : actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
5356 with :
54- path : ${{github.workspace}} /build/benchmark_results.html
57+ path : umf-repo /build/benchmark_results.html
5558 key : benchmark-results-
5659
5760 - name : Move benchmark HTML
58- if : ${{ inputs.upload == true && steps.download-bench-html.outputs.cache-hit != '' }}
59- # exact or partial cache hit
61+ # if: ${{ inputs.upload == true && steps.download-bench-html.outputs.cache-hit != '' }}
6062 run : |
61- mv ${{ github.workspace }} /build/benchmark_results.html ${{ github.workspace }}/build/docs_build/generated/html
63+ mv umf-repo /build/benchmark_results.html ${{github.workspace}}/build/docs_build/generated/html
6264
6365 - name : Upload artifact
6466 if : ${{ inputs.upload == true }}
You can’t perform that action at this time.
0 commit comments