Fixed unity actions.
This commit is contained in:
@@ -31,6 +31,9 @@ inputs:
|
|||||||
description: "Whether or not to build if a cache was found. Default: true"
|
description: "Whether or not to build if a cache was found. Default: true"
|
||||||
required: false
|
required: false
|
||||||
default: "true"
|
default: "true"
|
||||||
|
unityBuilder:
|
||||||
|
description: "Whether or not to use the UnityBuilder instead of a Unity command."
|
||||||
|
required: false
|
||||||
sshPublicKey:
|
sshPublicKey:
|
||||||
description: "Public SSH key to use for git package restoration."
|
description: "Public SSH key to use for git package restoration."
|
||||||
required: false
|
required: false
|
||||||
@@ -101,6 +104,7 @@ runs:
|
|||||||
sshPrivateKey: ${{ inputs.sshPrivateKey }}
|
sshPrivateKey: ${{ inputs.sshPrivateKey }}
|
||||||
command: ${{ steps.command.outputs.command }}
|
command: ${{ steps.command.outputs.command }}
|
||||||
noGraphics: ${{ inputs.noGraphics }}
|
noGraphics: ${{ inputs.noGraphics }}
|
||||||
|
unityBuilder: ${{ inputs.unityBuilder }}
|
||||||
- name: "Upload Library to Cache."
|
- name: "Upload Library to Cache."
|
||||||
if: ${{ steps.check-cache.outputs.cache-hit != 'true' }}
|
if: ${{ steps.check-cache.outputs.cache-hit != 'true' }}
|
||||||
uses: https://github.com/actions/cache/save@v3
|
uses: https://github.com/actions/cache/save@v3
|
||||||
|
|||||||
@@ -9,8 +9,9 @@ inputs:
|
|||||||
description: "Unity Platform. Options: windows, windows32bit, mac, linux, android"
|
description: "Unity Platform. Options: windows, windows32bit, mac, linux, android"
|
||||||
required: true
|
required: true
|
||||||
serial:
|
serial:
|
||||||
description: "Unity license serial number."
|
description: "Unity license serial number. Or 'personal' for a personal license."
|
||||||
required: true
|
required: true
|
||||||
|
default: personal
|
||||||
email:
|
email:
|
||||||
description: "Unity email."
|
description: "Unity email."
|
||||||
required: true
|
required: true
|
||||||
@@ -20,6 +21,9 @@ inputs:
|
|||||||
command:
|
command:
|
||||||
description: "Unity command to run."
|
description: "Unity command to run."
|
||||||
required: false
|
required: false
|
||||||
|
unityBuilder:
|
||||||
|
description: "Whether or not to use the UnityBuilder instead of a Unity command."
|
||||||
|
required: false
|
||||||
noGraphics:
|
noGraphics:
|
||||||
description: "Whether or not to use the graphics device when running Unity."
|
description: "Whether or not to use the graphics device when running Unity."
|
||||||
required: false
|
required: false
|
||||||
@@ -66,3 +70,5 @@ runs:
|
|||||||
sshPrivateKey: ${{ inputs.sshPrivateKey }}
|
sshPrivateKey: ${{ inputs.sshPrivateKey }}
|
||||||
noGraphics: ${{ inputs.noGraphics }}
|
noGraphics: ${{ inputs.noGraphics }}
|
||||||
command: -projectPath ${{ steps.path.outputs.projectPath }} -buildTarget ${{ steps.getTarget.outputs.buildTarget }} ${{ inputs.command }}
|
command: -projectPath ${{ steps.path.outputs.projectPath }} -buildTarget ${{ steps.getTarget.outputs.buildTarget }} ${{ inputs.command }}
|
||||||
|
unityBuilder: ${{ inputs.unityBuilder }}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user