File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -129,6 +129,20 @@ jobs:
129
129
displayName: Get dotnetVersion to use
130
130
- script : $(Python) scripts/ci_setup.py --channel $(_Channel) --dotnet-versions $(DotnetVersion) --architecture ${{parameters.architecture}} --perf-hash $(Build.SourceVersion) --queue ${{parameters.queue}} --build-number $(Build.BuildNumber) --build-configs $(_Configs) --output-file $(CorrelationStaging)machine-setup$(ScriptExtension) --install-dir $(CorrelationStaging)dotnet $(runEnvVarsParam) $(AffinityParam)
131
131
displayName : Run ci_setup.py with dotnetVersionsLinks
132
+ - powershell : |
133
+ Write-Host "##vso[task.setvariable variable=DOTNET_ROOT;]$(CorrelationStaging)dotnet"
134
+ Write-Host "Set DOTNET_ROOT to $(CorrelationStaging)dotnet"
135
+ displayName: Explicitly set DOTNET_ROOT
136
+ - script : |
137
+ echo "##vso[task.setvariable variable=PATH;]$(DOTNET_ROOT):$(PATH)"
138
+ echo "Set PATH to $(DOTNET_ROOT):$(PATH)"
139
+ displayName: Explicitly set PATH (Non-Windows)
140
+ condition: and(succeeded(), ne(variables['Agent.Os'], 'Windows_NT'))
141
+ - powershell : |
142
+ Write-Host "##vso[task.setvariable variable=PATH;]$(DOTNET_ROOT);$(PATH)"
143
+ Write-Host "Set PATH to $(DOTNET_ROOT);$(PATH)"
144
+ displayName: Explicitly set PATH (Windows)
145
+ condition: and(succeeded(), eq(variables['Agent.Os'], 'Windows_NT'))
132
146
- ${{ if eq(parameters.osName, 'windows') }} :
133
147
- script : xcopy .\NuGet.config $(CorrelationStaging) && xcopy .\scripts $(CorrelationStaging)scripts\/e && xcopy .\src\scenarios\shared $(CorrelationStaging)shared\/e && xcopy .\src\scenarios\staticdeps $(CorrelationStaging)staticdeps\/e
134
148
displayName : Copy python libraries and NuGet.config
You can’t perform that action at this time.
0 commit comments