diff --git a/eng/pipelines/templates/jobs/vmr-build.yml b/eng/pipelines/templates/jobs/vmr-build.yml index 819cdfd531ba..0f78e311c065 100644 --- a/eng/pipelines/templates/jobs/vmr-build.yml +++ b/eng/pipelines/templates/jobs/vmr-build.yml @@ -172,7 +172,7 @@ jobs: # We either build the repo directly, or we extract them outside (which is what partners do) - ${{ if parameters.buildFromArchive }}: - name: sourcesPath - value: $(Build.ArtifactStagingDirectory)/dotnet-sources/ + value: $(Agent.TempDirectory)/dotnet-sources/ - ${{ else }}: - name: sourcesPath value: $(vmrPath)