diff --git a/unity-project-cached/action.yaml b/unity-project-cached/action.yaml index 6d32124..a1ecc29 100644 --- a/unity-project-cached/action.yaml +++ b/unity-project-cached/action.yaml @@ -31,6 +31,9 @@ inputs: description: "Whether or not to build if a cache was found. Default: true" required: false default: "true" + unityBuilder: + description: "Whether or not to use the UnityBuilder instead of a Unity command." + required: false sshPublicKey: description: "Public SSH key to use for git package restoration." required: false @@ -101,6 +104,7 @@ runs: sshPrivateKey: ${{ inputs.sshPrivateKey }} command: ${{ steps.command.outputs.command }} noGraphics: ${{ inputs.noGraphics }} + unityBuilder: ${{ inputs.unityBuilder }} - name: "Upload Library to Cache." if: ${{ steps.check-cache.outputs.cache-hit != 'true' }} uses: https://github.com/actions/cache/save@v3 diff --git a/unity-project/action.yaml b/unity-project/action.yaml index 3dae506..776b342 100644 --- a/unity-project/action.yaml +++ b/unity-project/action.yaml @@ -9,8 +9,9 @@ inputs: description: "Unity Platform. Options: windows, windows32bit, mac, linux, android" required: true serial: - description: "Unity license serial number." + description: "Unity license serial number. Or 'personal' for a personal license." required: true + default: personal email: description: "Unity email." required: true @@ -20,6 +21,9 @@ inputs: command: description: "Unity command to run." required: false + unityBuilder: + description: "Whether or not to use the UnityBuilder instead of a Unity command." + required: false noGraphics: description: "Whether or not to use the graphics device when running Unity." required: false @@ -66,3 +70,5 @@ runs: sshPrivateKey: ${{ inputs.sshPrivateKey }} noGraphics: ${{ inputs.noGraphics }} command: -projectPath ${{ steps.path.outputs.projectPath }} -buildTarget ${{ steps.getTarget.outputs.buildTarget }} ${{ inputs.command }} + unityBuilder: ${{ inputs.unityBuilder }} +