File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 1
1
name : GPU Benchmarks
2
2
3
3
on :
4
+ push :
5
+ branches :
6
+ - main
4
7
pull_request :
5
8
types : [opened, reopened, synchronize]
6
9
workflow_dispatch :
46
49
uses : actions/cache/restore@v4
47
50
with :
48
51
path : ./cache
49
- key : ${{ steps.get-main-branch-sha.outputs.sha }}-${{ runner.os }}-benchmark
52
+ key : ${{ runner.os }}-benchmark
50
53
51
54
- name : Ensure version file is written
52
55
run : |
60
63
61
64
- name : Compare benchmark results with main branch
62
65
uses :
benchmark-action/[email protected]
63
- if : steps.cache.outputs.cache-hit == 'true'
64
66
with :
65
67
tool : ' pytest'
66
68
output-file-path : output.json
@@ -106,4 +108,4 @@ jobs:
106
108
if : ${{ github.ref_name == 'main' }}
107
109
with :
108
110
path : ./cache
109
- key : ${{ steps.get-main-branch-sha.outputs.sha }}-${{ runner.os }}-benchmark
111
+ key : ${{ runner.os }}-benchmark
You can’t perform that action at this time.
0 commit comments