We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3a0a83 commit 4dbe714Copy full SHA for 4dbe714
.github/workflows/mixed-inputs.yml
@@ -13,13 +13,14 @@ on:
13
- cschleiden
14
use-emoji:
15
type: boolean
16
+ default: false
17
description: Include 🎉🤣 emojis
18
19
jobs:
20
greet:
21
runs-on: ubuntu-latest
22
steps:
23
- name: Send greeting
- run: echo $MESSAGE ${{ toJSON(inputs.name) }} ${{ fromJSON('["", "🥳"]')[+inputs.use-emoji] }}
24
+ run: echo $MESSAGE ${{ toJSON(inputs.name) }} ${{ fromJSON('{"true":"🥳","false":""}')[inputs.use-emoji] }}
25
env:
26
MESSAGE: ${{ inputs.message }}
0 commit comments