Updated actions to not use graphics by default.

This commit is contained in:
2023-08-05 20:18:18 -07:00
parent 043b94d9bb
commit 890af9b969
2 changed files with 18 additions and 1 deletions

View File

@@ -24,6 +24,10 @@ inputs:
unityBuilder:
description: "Whether or not to use the UnityBuilder instead of a Unity command."
required: false
useGraphics:
description: "Whether or not to use the user graphics device when running Unity."
required: false
default: "false"
cacheVolume:
description: "Name of the volume to cache the Library folder to."
required: false
@@ -60,6 +64,7 @@ runs:
password: ${{ inputs.password }}
command: -projectPath ${{ inputs.projectPath }} -buildTarget ${{ steps.getTarget.outputs.buildTarget }} ${{ inputs.command }}
removeContainer: ${{ inputs.removeContainer }}
useGraphics: ${{ inputs.useGraphics }}
- name: "Cache the Library folder."
if: inputs.cacheVolume != null
uses: act/common/docker/docker-cp@master