This commit is contained in:
2023-03-19 00:30:33 -07:00
parent f38ba5f961
commit 07b60c53f9
4 changed files with 10 additions and 7 deletions

View File

@@ -24,7 +24,7 @@ EOF
fi
#Activate Unity
if [[ "$SERIAL" == "public" ]]; then
if [[ "$SERIAL" == "personal" ]]; then
UnityBuilder activate -i /usr/bin/unity-editor -u $EMAIL -p $PASSWORD
else
unity-editor $DEFAULT_ARGS -serial $SERIAL -username $EMAIL -password $PASSWORD
@@ -32,3 +32,7 @@ fi
#Run the command.
unity-editor $DEFAULT_ARGS $COMMAND
while true; do
sleep 1
done

View File

@@ -23,4 +23,3 @@ runs:
echo "::set-output name=projectVersion::$VERSION"
shell: bash

View File

@@ -9,9 +9,9 @@ inputs:
description: "Unity Platform. Options: windows, windows32bit, mac, linux, android"
required: true
serial:
description: "Unity license serial number. Or 'public' for a public license."
description: "Unity license serial number. Or 'personal' for a personal license."
required: true
default: public
default: personal
email:
description: "Unity email."
required: true

View File

@@ -2,9 +2,9 @@ name: unity
description: "Register Unity with the provided license and run a Unity command."
inputs:
serial:
description: "Unity license serial number. Or 'public' for a public license."
description: "Unity license serial number. Or 'personal' for a personal license."
required: true
default: public
default: personal
email:
description: "Unity email."
required: true