Skip to content

Commit e63b788

Browse files
authored
Refactor BENCH_TAG assignment in workflow
1 parent fe92610 commit e63b788

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/bench-frontier.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
env:
4545
ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16
4646
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
47-
BENCH_TAG: "${{ github.event_name == 'workflow_dispatch' && github.event.inputs.tag != '' ? github.event.inputs.tag : 'v5.1.3' }}"
47+
BENCH_TAG: ${{ if(github.event_name == 'workflow_dispatch' && github.event.inputs.tag != '', github.event.inputs.tag, 'v5.1.3') }}
4848
steps:
4949
- name: Clone - PR
5050
uses: actions/checkout@v4

0 commit comments

Comments
 (0)