Skip to content

Commit c1b9801

Browse files
author
Christopher - Marcel Böddecker
committed
fix(templates): correct path for Unity assemblies
1 parent d8b9ad4 commit c1b9801

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

templates/steps/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ steps:
3434
}
3535
3636
$path = $setupInstance.Path
37-
Write-Host "##vso[task.setvariable variable=Unity.Path]$path"
37+
$path = Join-Path $path "Editor/Data/Managed/"
38+
Write-Host "##vso[task.setvariable variable=Unity.AssembliesPath]$path"
3839
Write-Host "Using Unity at path '$path'."
3940
displayName: Install/find Unity
4041
failOnStderr: true
@@ -56,4 +57,4 @@ steps:
5657
maximumCpuCount: true
5758
msbuildArchitecture: x64
5859
${{ if eq(parameters.unityProject, 'true') }}:
59-
msbuildArgs: /p:UnityEditorAssembliesPath="$(Unity.Path)Editor/Data/Managed/"
60+
msbuildArgs: /p:UnityEditorAssembliesPath="$(Unity.AssembliesPath)"

0 commit comments

Comments
 (0)