test
This commit is contained in:
@@ -24,10 +24,10 @@ inputs:
|
||||
command:
|
||||
description: "Unity command to run."
|
||||
required: false
|
||||
useGraphics:
|
||||
noGraphics:
|
||||
description: "Whether or not to use the graphics device when running Unity."
|
||||
required: false
|
||||
default: "false"
|
||||
default: "true"
|
||||
unityBuilder:
|
||||
description: "Whether or not to use the UnityBuilder instead of a Unity command."
|
||||
required: false
|
||||
@@ -62,7 +62,7 @@ runs:
|
||||
id: command
|
||||
run: |
|
||||
COMMAND="${{ inputs.command }}"
|
||||
if [[ "{{ inputs.useGraphics }}" != "true" ]]; then
|
||||
if [[ "{{ inputs.noGraphics }}" == "true" ]]; then
|
||||
COMMAND="-nographics $COMMAND"
|
||||
fi
|
||||
echo "command=$COMMAND"
|
||||
|
||||
Reference in New Issue
Block a user