diff --git a/unity-command/action.yaml b/unity-command/action.yaml index 1fdb292..4bd47b9 100644 --- a/unity-command/action.yaml +++ b/unity-command/action.yaml @@ -63,10 +63,9 @@ runs: run: | COMMAND="${{ inputs.command }}" NO_GRAPHICS="${{ inputs.noGraphics }}" - echo "NO GRAPHICS: ${{ inputs.noGraphics }}" + if [[ "$NO_GRAPHICS" == "true" ]]; then COMMAND="-nographics $COMMAND" - echo COMMAND IS "$COMMAND" fi echo "command=$COMMAND" >> "$GITHUB_OUTPUT" - name: "Run Unity command." diff --git a/unity-default/action.yaml b/unity-default/action.yaml index 2a04ff7..b55242c 100644 --- a/unity-default/action.yaml +++ b/unity-default/action.yaml @@ -44,8 +44,6 @@ inputs: runs: using: "composite" steps: - - run: | - echo "NO GRAPHICS: ${{ inputs.noGraphics }}" - uses: act/unity/unity-composite@master with: platform: ${{ inputs.platform }}