diff --git a/unity-command/action.yaml b/unity-command/action.yaml index 96177d7..1afbb9d 100644 --- a/unity-command/action.yaml +++ b/unity-command/action.yaml @@ -62,7 +62,8 @@ runs: id: command run: | COMMAND="${{ inputs.command }}" - if [[ "{{ inputs.noGraphics }}" == "false" ]]; then + echo "NO GRAPHICS: ${{ inputs.noGraphics }}" + if [[ "{{ inputs.noGraphics }}" == "true" ]]; then COMMAND="-nographics $COMMAND" fi echo "command=$COMMAND" >> "$GITHUB_OUTPUT" diff --git a/unity-default/action.yaml b/unity-default/action.yaml index b55242c..2a04ff7 100644 --- a/unity-default/action.yaml +++ b/unity-default/action.yaml @@ -44,6 +44,8 @@ inputs: runs: using: "composite" steps: + - run: | + echo "NO GRAPHICS: ${{ inputs.noGraphics }}" - uses: act/unity/unity-composite@master with: platform: ${{ inputs.platform }}