From 119261980bee7303935afce924e3fc9dcb67b877 Mon Sep 17 00:00:00 2001 From: Scion Date: Sat, 5 Aug 2023 23:45:12 -0700 Subject: [PATCH] test --- unity-command/action.yaml | 3 +-- unity-default/action.yaml | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) 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 }}