Files
unity/unity/action.yaml
2023-03-25 22:13:30 -07:00

30 lines
906 B
YAML

name: unity
description: "Register Unity with the provided license and run a Unity command."
inputs:
serial:
description: "Unity license serial number. Or 'personal' for a personal license. Or 'activated' to skip activation."
required: true
default: personal
email:
description: "Unity email."
required: true
password:
description: "Unity password."
required: true
command:
description: "Unity command to run."
required: false
unityBuilder:
description: "Whether or not to use the UnityBuilder instead of a Unity command."
required: false
runs:
using: docker
#This is a base "mock" image which is replaced by the correct image in the "unity-command" action at runtime.
image: docker://unityci/base:latest
args:
- ${{ inputs.serial }}
- ${{ inputs.email }}
- ${{ inputs.password }}
- ${{ inputs.command }}
- ${{ inputs.unityBuilder }}