diff --git a/unity-command/action.yaml b/unity-command/action.yaml index 7580e86..ca459bc 100644 --- a/unity-command/action.yaml +++ b/unity-command/action.yaml @@ -62,9 +62,10 @@ runs: id: command run: | COMMAND="${{ inputs.command }}" + NO_GRAPHICS="${{ inputs.noGraphics }}" echo "NO GRAPHICS: ${{ inputs.noGraphics }}" echo "{{ inputs.noGraphics }}" == 'true'" - if [[ "{{ inputs.noGraphics }}" == "true" ]]; then + if [[ "$NO_GRAPHICS" == "true" ]]; then COMMAND="-nographics $COMMAND" echo COMMAND IS "$COMMAND" fi