mirror of
https://github.com/game-ci/unity-builder.git
synced 2025-07-04 12:25:19 -04:00

* Ensure serial is prioritized * Add compile listener to create github annotations * Update node modules * Don't build ubuntu on PR as secrets are now needed. Update PR template to request an example successful run. Remove 32bit windows build. Build on push to any branch * Update activation to use blank project * Ensure exceptions get annotated as well * More robust console printing * Update test project * Build iOS test on macos to verify burst functionality. Add annotation for license activation error. Fix unity version test. Remove minification from android * Improve license checks * Mask partially redacted serial in addition to full serial * Add retry logic to ubuntu builds * Allow dirty build on retry * Bump unity version
20 lines
745 B
PowerShell
20 lines
745 B
PowerShell
# Activates Unity
|
|
|
|
Write-Output ""
|
|
Write-Output "###########################"
|
|
Write-Output "# Activating #"
|
|
Write-Output "###########################"
|
|
Write-Output ""
|
|
|
|
& "$Env:UNITY_PATH/Editor/Unity.exe" -batchmode -quit -nographics `
|
|
-username $Env:UNITY_EMAIL `
|
|
-password $Env:UNITY_PASSWORD `
|
|
-serial $Env:UNITY_SERIAL `
|
|
-projectPath "c:/BlankProject" `
|
|
-logfile - | Out-Host
|
|
|
|
if(-not(Test-path "C:/ProgramData/Unity/Unity_lic.ulf" -PathType leaf))
|
|
{
|
|
Write-Output "::error ::There was an error while trying to activate the Unity license."
|
|
}
|