From 0a4385081be45096965c878447e47fb42c938db6 Mon Sep 17 00:00:00 2001 From: Scion Date: Sat, 5 Aug 2023 23:03:56 -0700 Subject: [PATCH] test --- unity-command/action.yaml | 6 +++--- unity-composite/action.yaml | 6 +++--- unity-default/action.yaml | 6 +++--- unity-project/action.yaml | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/unity-command/action.yaml b/unity-command/action.yaml index 22f412b..ff272ba 100644 --- a/unity-command/action.yaml +++ b/unity-command/action.yaml @@ -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" diff --git a/unity-composite/action.yaml b/unity-composite/action.yaml index 42ba642..dc74fd3 100644 --- a/unity-composite/action.yaml +++ b/unity-composite/action.yaml @@ -30,10 +30,10 @@ inputs: description: "Name of the directory to copy the artifacts from." required: true default: artifacts - useGraphics: + noGraphics: description: "Whether or not to use the graphics device when running Unity." required: false - default: "false" + default: "true" zipName: description: "Name of the resulting zip file." required: false @@ -54,7 +54,7 @@ runs: command: ${{ inputs.command }} unityBuilder: ${{ inputs.unityBuilder }} cacheVolume: ${{ inputs.cacheVolume }} - useGraphics: ${{ inputs.useGraphics }} + noGraphics: ${{ inputs.noGraphics }} - name: "Compress build" if: ${{ inputs.zipName }} env: diff --git a/unity-default/action.yaml b/unity-default/action.yaml index 94d255d..b55242c 100644 --- a/unity-default/action.yaml +++ b/unity-default/action.yaml @@ -30,10 +30,10 @@ inputs: description: "Name of the volume to copy the artifacts to." required: true default: ${{ env.ARTIFACTS_VOLUME }} - useGraphics: + noGraphics: description: "Whether or not to use the graphics device when running Unity." required: false - default: ${{ env.USE_GRAPHICS || 'false' }} + default: ${{ env.NO_GRAPHICS || 'true' }} artifactsDir: description: "Name of the directory to copy the artifacts from." required: true @@ -55,4 +55,4 @@ runs: artifactsDir: ${{ inputs.artifactsDir }} cacheVolume: ${{ inputs.cacheVolume }} zipName: ${{ inputs.zipName }} - useGraphics: ${{ inputs.useGraphics }} + noGraphics: ${{ inputs.noGraphics }} diff --git a/unity-project/action.yaml b/unity-project/action.yaml index 23c1081..04d68ee 100644 --- a/unity-project/action.yaml +++ b/unity-project/action.yaml @@ -24,10 +24,10 @@ inputs: unityBuilder: description: "Whether or not to use the UnityBuilder instead of a Unity command." required: false - useGraphics: + noGraphics: description: "Whether or not to use the graphics device when running Unity." required: false - default: "false" + default: "true" cacheVolume: description: "Name of the volume to cache the Library folder to." required: false @@ -64,7 +64,7 @@ runs: password: ${{ inputs.password }} command: -projectPath ${{ inputs.projectPath }} -buildTarget ${{ steps.getTarget.outputs.buildTarget }} ${{ inputs.command }} removeContainer: ${{ inputs.removeContainer }} - useGraphics: ${{ inputs.useGraphics }} + noGraphics: ${{ inputs.noGraphics }} - name: "Cache the Library folder." if: inputs.cacheVolume != null uses: act/common/docker/docker-cp@master