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

- Add missing unityLicenseServer input (Fix #480) - Use HEAD when calculating semantic version number. This is a riskier change as this has always used `github.sha` on the runner. However, when pulling in other repos and running the action, it may not be referencing the correct commit on the repo. After testing, though, nothing appears to be broken so this in theory should work fine. (Fix #417) - Setup private token rewrites on Windows images (Fix #428) - Allow setting a custom workspace path within docker container with `dockerWorkspacePath`. (Fix #433) - [Breaking Change] Remove `androidAppBundle` parameter in favor of `androidExportType`.
19 lines
611 B
PowerShell
19 lines
611 B
PowerShell
# Import any necessary registry keys, ie: location of windows 10 sdk
|
|
# No guarantee that there will be any necessary registry keys, ie: tvOS
|
|
Get-ChildItem -Path c:\regkeys -File | Foreach {reg import $_.fullname}
|
|
|
|
# Register the Visual Studio installation so Unity can find it
|
|
regsvr32 C:\ProgramData\Microsoft\VisualStudio\Setup\x64\Microsoft.VisualStudio.Setup.Configuration.Native.dll
|
|
|
|
# Setup Git Credentials
|
|
& "c:\steps\set_gitcredential.ps1"
|
|
|
|
# Activate Unity
|
|
& "c:\steps\activate.ps1"
|
|
|
|
# Build the project
|
|
& "c:\steps\build.ps1"
|
|
|
|
# Free the seat for the activated license
|
|
& "c:\steps\return_license.ps1"
|