test
This commit is contained in:
@@ -63,7 +63,7 @@ runs:
|
|||||||
run: |
|
run: |
|
||||||
COMMAND="${{ inputs.command }}"
|
COMMAND="${{ inputs.command }}"
|
||||||
if [[ "{{ inputs.useGraphics }}" != "true" ]]; then
|
if [[ "{{ inputs.useGraphics }}" != "true" ]]; then
|
||||||
COMMAND="$COMMAND -nographics"
|
COMMAND="-nographics $COMMAND"
|
||||||
fi
|
fi
|
||||||
echo "command=$COMMAND"
|
echo "command=$COMMAND"
|
||||||
- name: "Run Unity command."
|
- name: "Run Unity command."
|
||||||
|
|||||||
@@ -9,12 +9,16 @@ rm -rf /home/unity/.config/unity3d
|
|||||||
bash /scripts/add_ssh_keys.sh
|
bash /scripts/add_ssh_keys.sh
|
||||||
|
|
||||||
if [[ "$SERIAL" != "activated" ]]; then
|
if [[ "$SERIAL" != "activated" ]]; then
|
||||||
|
echo "::group::Activating Unity License"
|
||||||
bash /scripts/activate_license.sh "$SERIAL" "$EMAIL" "$PASSWORD"
|
bash /scripts/activate_license.sh "$SERIAL" "$EMAIL" "$PASSWORD"
|
||||||
|
echo "::endgroup::"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo "::group::Running Unity Command"
|
||||||
#Run the command.
|
#Run the command.
|
||||||
if [[ -n "$UNITY_BUILDER" ]]; then
|
if [[ -n "$UNITY_BUILDER" ]]; then
|
||||||
UnityBuilder $COMMAND
|
UnityBuilder $COMMAND
|
||||||
else
|
else
|
||||||
unity-editor $DEFAULT_ARGS $COMMAND
|
unity-editor $DEFAULT_ARGS $COMMAND
|
||||||
fi
|
fi
|
||||||
|
echo "::endgroup::"
|
||||||
Reference in New Issue
Block a user