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 2
2
name : GitHubPages
3
3
4
4
on :
5
+ pull_request :
5
6
push :
6
7
branches : ["main"]
7
8
20
21
upload : true
21
22
22
23
DocsDeploy :
24
+ if : false
23
25
name : Deploy docs to GitHub Pages
24
26
needs : DocsBuild
25
27
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ permissions:
17
17
18
18
jobs :
19
19
CodeChecks :
20
+ if : false
20
21
uses : ./.github/workflows/reusable_checks.yml
21
22
DocsBuild :
22
23
uses : ./.github/workflows/reusable_docs_build.yml
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,22 @@ 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
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 }}
51
54
id : download-bench-html
52
55
uses : actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
53
56
with :
54
- path : ${{github.workspace}} /build/benchmark_results.html
57
+ path : umf-repo /build/benchmark_results.html
55
58
key : benchmark-results-
56
59
57
60
- 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 != '' }}
60
62
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
62
64
63
65
- name : Upload artifact
64
66
if : ${{ inputs.upload == true }}
You can’t perform that action at this time.
0 commit comments