Dinomite-Studios / unity-azure-pipelines-tasks

Azure DevOps extension adding tools to build and deploy Unity 3D projects using Azure Pipelines
https://unitydevops.com/
MIT License
121 stars 49 forks source link

Unity Activate License's post-job should not run if task was skipped #241

Open derekfreed opened 1 year ago

derekfreed commented 1 year ago

I have a pipeline where we may either license using a unity licensing server or license with a serial with UnityActivateLicense Task.

In the case where we license with the Unity License Server, we skip the UnityActivateLicense task, but I'm seeing that the post-job that is meant to release the license from UnityActivateLicense still runs even if the task was skipped due to a yaml condition.

My expectation is that the post-job should not run if the UnityActivateLicense task does not run.

image