-
-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add parameter return-license in build job #29
Add parameter return-license in build job #29
Conversation
Thanks, @tadashi0713 🙇 Weird that shellcheck is complaining since you didn't touch any script. Nevertheless, is a valid error that it caught, so I'll go ahead and open a PR with the fix and then we can merge yours. |
Speaking as a free Unity user, it'd be kinda nice if the default just worked. Can we always have this orb try to return the license, and fail gracefully and continue if it can't? Or is that a recipe for problems. |
I don't believe it's a problem in most cases. However, It would make your job run time unnecessarily longer. The doc linked by @tadashi0713 says:
Meaning that even for Pro and Plus, it's not always necessary to return the license. Perhaps the best approach is to set the new parameter to |
Also, @tadashi0713, can I ask you to include the new parameter in the |
Pushed the change with my suggestions and merged the shellcheck fix, let me know what you all think. |
Looks good to me. |
@EricRibeiro Thank you for your suggestion/fix, also looks good to me 👍 |
Looks like this resolves #26 |
https://game.ci/docs/github/returning-a-license
Since Unity only allows returning professional licenses, I added a parameter to switch whether returning licenses or not for other types of licenses.