test logging
This commit is contained in:
@@ -40,10 +40,6 @@ inputs:
|
||||
unityBuilder:
|
||||
description: "Whether or not to use the UnityBuilder instead of a Unity command."
|
||||
required: false
|
||||
removeContainer:
|
||||
description: "Remove the mock container after building."
|
||||
required: false
|
||||
default: "true"
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
@@ -91,8 +87,4 @@ runs:
|
||||
password: ${{ inputs.password }}
|
||||
command: ${{ steps.command.outputs.command }}
|
||||
unityBuilder: ${{ inputs.unityBuilder }}
|
||||
- name: "Remove temporary image."
|
||||
if: ${{ inputs.removeContainer == 'true' }}
|
||||
run: |
|
||||
docker image rm ${{ inputs.imageTag }}
|
||||
shell: bash
|
||||
|
||||
|
||||
@@ -17,8 +17,12 @@ fi
|
||||
echo "::group::Running Unity Command"
|
||||
#Run the command.
|
||||
if [[ -n "$UNITY_BUILDER" ]]; then
|
||||
echo "Using UnityBuilder to run the command:"
|
||||
echo " UnityBuilder $COMMAND"
|
||||
UnityBuilder $COMMAND
|
||||
else
|
||||
echo "Using unity-editor to run the command:"
|
||||
echo " unity-editor $DEFAULT_ARGS $COMMAND"
|
||||
unity-editor $DEFAULT_ARGS $COMMAND
|
||||
fi
|
||||
echo "::endgroup::"
|
||||
|
||||
@@ -23,7 +23,9 @@ fi
|
||||
|
||||
#Activate Unity
|
||||
if [[ "$SERIAL" == "personal" ]]; then
|
||||
echo "Obtaining personal license for Unity..."
|
||||
UnityBuilder activate -i /usr/bin/unity-editor -u $USERNAME -p $PASSWORD
|
||||
else
|
||||
echo "Activating Unity License with serial number."
|
||||
unity-editor $DEFAULT_ARGS -serial $SERIAL -username $USERNAME -password $PASSWORD
|
||||
fi
|
||||
Reference in New Issue
Block a user