correct github.event usage
This commit is contained in:
parent
5e8ca26f8b
commit
c3d9d7040a
1 changed files with 6 additions and 6 deletions
12
.github/workflows/bench.yml
vendored
12
.github/workflows/bench.yml
vendored
|
@ -53,20 +53,20 @@ jobs:
|
|||
pr_comment_enabled: "true"
|
||||
|
||||
if: |
|
||||
github.event.inputs.gpu-series == 'Standard_NC4as_T4_v3'
|
||||
inputs.gpu-series == 'Standard_NC4as_T4_v3'
|
||||
|| (
|
||||
github.event.schedule
|
||||
github.event_name == 'schedule'
|
||||
&& github.repository_owner == 'ggerganov'
|
||||
)
|
||||
|| github.event.pull_request
|
||||
|| github.event_name == 'pull_request'
|
||||
|| github.head_ref == 'master'
|
||||
|| (
|
||||
github.event.push
|
||||
&& github.event.push.ref == 'refs/heads/master'
|
||||
github.event_name == 'push'
|
||||
&& github.event.ref == 'refs/heads/master'
|
||||
&& github.repository_owner == 'ggerganov'
|
||||
)
|
||||
|| (
|
||||
!github.event.push
|
||||
github.event_name != 'push'
|
||||
&& github.ref_name == 'master'
|
||||
)
|
||||
steps:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue