Fix project path windows
parent
0243fe1fb8
commit
4a8ee6f820
|
|
@ -13,6 +13,7 @@ LABEL "maintainer"="Webber Takken <webber@takken.io>"
|
|||
COPY default-build-script c:/UnityBuilderAction
|
||||
COPY platforms/windows/steps c:/steps
|
||||
COPY platforms/windows/entrypoint.ps1 c:/entrypoint.ps1
|
||||
COPY BlankProject c:/BlankProject
|
||||
RUN dir
|
||||
|
||||
ENTRYPOINT ["powershell", "c:/entrypoint.ps1"]
|
||||
|
|
|
|||
|
|
@ -1,10 +1,3 @@
|
|||
#
|
||||
# Create directory for license activation
|
||||
#
|
||||
|
||||
ACTIVATE_LICENSE_PATH="$($Env:GITHUB_WORKSPACE)/_activate-license"
|
||||
mkdir $ACTIVATE_LICENSE_PATH
|
||||
|
||||
# Activate Unity
|
||||
& "c:\steps\activate.ps1"
|
||||
|
||||
|
|
@ -20,9 +13,3 @@ regsvr32 C:\ProgramData\Microsoft\VisualStudio\Setup\x64\Microsoft.VisualStudio.
|
|||
|
||||
# Free the seat for the activated license
|
||||
& "c:\steps\return_license.ps1"
|
||||
|
||||
#
|
||||
# Remove license activation directory
|
||||
#
|
||||
|
||||
Remove-Item -Path $ACTIVATE_LICENSE_PATH -Recurse
|
||||
|
|
|
|||
|
|
@ -1,10 +1,7 @@
|
|||
Push-Location $ACTIVATE_LICENSE_PATH
|
||||
|
||||
# Activates Unity
|
||||
& "C:\Program Files\Unity\Hub\Editor\$Env:UNITY_VERSION\Editor\Unity.exe" -batchmode -quit -nographics `
|
||||
-username $Env:UNITY_EMAIL `
|
||||
-password $Env:UNITY_PASSWORD `
|
||||
-serial $Env:UNITY_SERIAL `
|
||||
-projectPath "c:/BlankProject" `
|
||||
-logfile | Out-Host
|
||||
|
||||
Pop-Location
|
||||
|
|
|
|||
|
|
@ -1,10 +1,7 @@
|
|||
Push-Location $ACTIVATE_LICENSE_PATH
|
||||
|
||||
# Return the active Unity license
|
||||
& "C:\Program Files\Unity\Hub\Editor\$Env:UNITY_VERSION\Editor\Unity.exe" -batchmode -quit -nographics `
|
||||
-username $Env:UNITY_EMAIL `
|
||||
-password $Env:UNITY_PASSWORD `
|
||||
-returnlicense `
|
||||
-projectPath "c:/BlankProject" `
|
||||
-logfile | Out-Host
|
||||
|
||||
Pop-Location
|
||||
|
|
|
|||
Loading…
Reference in New Issue