From 07b60c53f97325c55c96e800a19f5be650bda1d8 Mon Sep 17 00:00:00 2001 From: Scion Date: Sun, 19 Mar 2023 00:30:33 -0700 Subject: [PATCH] test --- unity-command/entrypoint.sh | 6 +++++- unity-get-version/action.yaml | 3 +-- unity-project/action.yaml | 4 ++-- unity/action.yaml | 4 ++-- 4 files changed, 10 insertions(+), 7 deletions(-) diff --git a/unity-command/entrypoint.sh b/unity-command/entrypoint.sh index 83b45ba..3bf8538 100644 --- a/unity-command/entrypoint.sh +++ b/unity-command/entrypoint.sh @@ -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 \ No newline at end of file diff --git a/unity-get-version/action.yaml b/unity-get-version/action.yaml index a719c86..dccc1a3 100644 --- a/unity-get-version/action.yaml +++ b/unity-get-version/action.yaml @@ -1,7 +1,7 @@ name: unity-get-version description: "Get the correct Unity version from a provided project." inputs: - projectPath: + projectPath: description: "Path to the Unity project." required: true default: "." @@ -23,4 +23,3 @@ runs: echo "::set-output name=projectVersion::$VERSION" shell: bash - \ No newline at end of file diff --git a/unity-project/action.yaml b/unity-project/action.yaml index 7d2c8e5..07a2f44 100644 --- a/unity-project/action.yaml +++ b/unity-project/action.yaml @@ -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 diff --git a/unity/action.yaml b/unity/action.yaml index 2cdbf64..bdba0d6 100644 --- a/unity/action.yaml +++ b/unity/action.yaml @@ -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