Skip to content

Commit 4dbe714

Browse files
ci(github): fix mixed-inputs.yml
1 parent c3a0a83 commit 4dbe714

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/mixed-inputs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,14 @@ on:
1313
- cschleiden
1414
use-emoji:
1515
type: boolean
16+
default: false
1617
description: Include 🎉🤣 emojis
1718

1819
jobs:
1920
greet:
2021
runs-on: ubuntu-latest
2122
steps:
2223
- name: Send greeting
23-
run: echo $MESSAGE ${{ toJSON(inputs.name) }} ${{ fromJSON('["", "🥳"]')[+inputs.use-emoji] }}
24+
run: echo $MESSAGE ${{ toJSON(inputs.name) }} ${{ fromJSON('{"true":"🥳","false":""}')[inputs.use-emoji] }}
2425
env:
2526
MESSAGE: ${{ inputs.message }}

0 commit comments

Comments
 (0)