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