test
This commit is contained in:
@@ -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
|
||||
@@ -23,4 +23,3 @@ runs:
|
||||
|
||||
echo "::set-output name=projectVersion::$VERSION"
|
||||
shell: bash
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user