Skip to content

Commit c4ae6c1

Browse files
authored
ternary won't work
1 parent f006b5c commit c4ae6c1

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/bench.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,19 @@ jobs:
5454

5555
if: |
5656
github.event.inputs.gpu-series == 'Standard_NC4as_T4_v3'
57-
|| (github.event.schedule && github.repository_owner == 'ggerganov')
57+
|| (
58+
github.event.schedule
59+
&& github.repository_owner == 'ggerganov')
5860
|| github.event.pull_request
5961
|| github.head_ref == 'master'
6062
|| (
6163
github.event.push
62-
&& (github.event.push.ref == 'refs/heads/master' && github.repository_owner == 'ggerganov')
63-
|| github.ref_name == 'master'
64+
&& github.event.push.ref == 'refs/heads/master'
65+
&& github.repository_owner == 'ggerganov'
66+
)
67+
|| (
68+
!github.event.push
69+
&& github.ref_name == 'master'
6470
)
6571
steps:
6672
- name: Clone

0 commit comments

Comments
 (0)