26 lines
718 B
YAML
26 lines
718 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."
|
|
required: true
|
|
default: personal
|
|
email:
|
|
description: "Unity email."
|
|
required: true
|
|
password:
|
|
description: "Unity password."
|
|
required: true
|
|
command:
|
|
description: "Unity command to run."
|
|
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 }}
|