File tree 1 file changed +10
-9
lines changed
1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -130,19 +130,20 @@ jobs:
130
130
# message-id: bench-${{ github.job }}-${{ env.RUNNER_LABEL }}
131
131
# message: |
132
132
# $BENCH_PR_COMMENT
133
- - name : Upload results
134
-
135
- with :
136
- path : ' *.png'
137
- title : |
138
- llama.cpp server benchmark results for ${{ github.job }} on ${{ env.RUNNER_LABEL }}: ${{ env.LLAMACPP_TOKENS_SECOND_AVG}}tk/s
139
- annotationLevel : ' success'
140
133
141
134
- name : Commit status
142
135
uses : Sibz/github-status-action@v1
143
136
with :
144
- authToken : ${{secrets.GITHUB_TOKEN}}
145
137
context : ${{ github.job }}
146
138
description : |
147
139
$BENCH_RESULTS
148
- state : ' success'
140
+ state : ' success'
141
+
142
+ - name : Upload results
143
+ if : ${{ github.event.pull_request != '' }}
144
+
145
+ with :
146
+ path : ' *.png'
147
+ title : |
148
+ llama.cpp server benchmark results for ${{ github.job }} on ${{ env.RUNNER_LABEL }}: ${{ env.LLAMACPP_TOKENS_SECOND_AVG}}tk/s
149
+ annotationLevel : ' success'
You can’t perform that action at this time.
0 commit comments