Skip to content

Commit c3a0a83

Browse files
ci(github): use unary plus operator in mixed-inputs.yml
1 parent b84ab49 commit c3a0a83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/mixed-inputs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ jobs:
2020
runs-on: ubuntu-latest
2121
steps:
2222
- name: Send greeting
23-
run: echo $MESSAGE ${{ toJSON(inputs.name) }} ${{ fromJSON('["", "🥳"]')[inputs.use-emoji == 'true'] }}
23+
run: echo $MESSAGE ${{ toJSON(inputs.name) }} ${{ fromJSON('["", "🥳"]')[+inputs.use-emoji] }}
2424
env:
2525
MESSAGE: ${{ inputs.message }}

0 commit comments

Comments
 (0)