File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -77,12 +77,16 @@ runs:
7777 fi
7878 fi
7979 ## Add beacon_id input if provided for launch or check
80- if ([ "${{ inputs.command }}" = "launch" ] || [ "${{ inputs.command }}" = "check" ]) && [ -n "${{ inputs.beacon_id }}" ]; then
81- COMMAND="$COMMAND --beacon-id ${{ inputs.beacon_id }}"
80+ if [ "${{ inputs.command }}" = "launch" ] || [ "${{ inputs.command }}" = "check" ]; then
81+ if [ -n "${{ inputs.beacon_id }}" ]; then
82+ COMMAND="$COMMAND --beacon-id ${{ inputs.beacon_id }}"
83+ fi
8284 fi
8385 ## Add event_slug input if provided for launch or check
84- if [ "${{ inputs.command }}" = "launch" ] || [ "${{ inputs.command }}" = "check" ] && [ -n "${{ inputs.event_slug }}" ]; then
85- COMMAND="$COMMAND --event-slug ${{ inputs.event_slug }}"
86+ if [ "${{ inputs.command }}" = "launch" ] || [ "${{ inputs.command }}" = "check" ]; then
87+ if [ -n "${{ inputs.event_slug }}" ]; then
88+ COMMAND="$COMMAND --event-slug ${{ inputs.event_slug }}"
89+ fi
8690 fi
8791 ## Add uuid input if needed
8892 if [ "${{ inputs.command }}" = "cancel" ] || [ "${{ inputs.command }}" = "info" ] || [ "${{ inputs.command }}" = "status" ] || [ "${{ inputs.command }}" = "success" ] || [ "${{ inputs.command }}" = "await" ]; then
You can’t perform that action at this time.
0 commit comments