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 fi
#Activate Unity #Activate Unity
if [[ "$SERIAL" == "public" ]]; then if [[ "$SERIAL" == "personal" ]]; then
UnityBuilder activate -i /usr/bin/unity-editor -u $EMAIL -p $PASSWORD UnityBuilder activate -i /usr/bin/unity-editor -u $EMAIL -p $PASSWORD
else else
unity-editor $DEFAULT_ARGS -serial $SERIAL -username $EMAIL -password $PASSWORD unity-editor $DEFAULT_ARGS -serial $SERIAL -username $EMAIL -password $PASSWORD
@@ -32,3 +32,7 @@ fi
#Run the command. #Run the command.
unity-editor $DEFAULT_ARGS $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" echo "::set-output name=projectVersion::$VERSION"
shell: bash shell: bash

View File

@@ -9,9 +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. Or 'public' for a public license." description: "Unity license serial number. Or 'personal' for a personal license."
required: true required: true
default: public default: personal
email: email:
description: "Unity email." description: "Unity email."
required: true required: true

View File

@@ -2,9 +2,9 @@ name: unity
description: "Register Unity with the provided license and run a Unity command." description: "Register Unity with the provided license and run a Unity command."
inputs: inputs:
serial: 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 required: true
default: public default: personal
email: email:
description: "Unity email." description: "Unity email."
required: true required: true