未验证 提交 17b811f6 编写于 作者: D Dipesh Kumar 提交者: GitHub

Updated pipeline to install .NET 8 Preview 3 after build (#7773)

* Updated pipeline to install .NET 8 Preview 3

* Added programFiles variables to the pipeline

* Changed net 8 version

* Updated install .net core task

* Updated dotnet core installation task

* Changed .NET Core runtime install version

* Changed windowsdesktop version in pipeline
上级 2213dd1d
......@@ -80,6 +80,10 @@ jobs:
value: ''
- name: _HelixCreator
value: ${{ parameters.repoName }}
- name: _programfilesx86
value: ${Env:ProgramFiles(x86)}/dotnet
- name: _programfiles
value: ${Env:ProgramFiles}/dotnet
- ${{ if ne(variables['System.TeamProject'], 'internal') }}:
- name: _InternalRuntimeDownloadArgs
value: ''
......@@ -180,6 +184,34 @@ jobs:
# (_HelixPipeline && _PublicBuildPipeline && _ContinuousIntegrationTestsEnabled && _BuildConfig == Release)
condition: or(ne(variables['_HelixPipeline'], 'true'), and(eq(variables['_HelixPipeline'], 'true') ,eq(variables['_BuildConfig'], 'Release'), eq(variables['_PublicBuildPipeline'], 'true'), eq(variables['_ContinuousIntegrationTestsEnabled'], 'true')))
- task: PowerShell@2
displayName: Install .NET Core
inputs:
filePath: $(Build.SourcesDirectory)/dotnet-test-install.ps1
arguments: -InstallDir $(_programfiles) -Architecture $(_Platform) -Runtime dotnet -Version 8.0.0-preview.3.23174.8
condition: eq(variables['_Platform'], 'x64')
- task: PowerShell@2
displayName: Install .NET Core(x86)
inputs:
filePath: $(Build.SourcesDirectory)/dotnet-test-install.ps1
arguments: -InstallDir $(_programfilesx86) -Architecture $(_Platform) -Runtime dotnet -Version 8.0.0-preview.3.23174.8
condition: eq(variables['_Platform'], 'x86')
- task: PowerShell@2
displayName: Install .NET WindowsDesktop
inputs:
filePath: $(Build.SourcesDirectory)/dotnet-test-install.ps1
arguments: -InstallDir $(_programfiles) -Architecture $(_Platform) -Runtime windowsdesktop -Version 8.0.0-preview.3.23178.1
condition: eq(variables['_Platform'], 'x64')
- task: PowerShell@2
displayName: Install .NET WindowsDesktop(x86)
inputs:
filePath: $(Build.SourcesDirectory)/dotnet-test-install.ps1
arguments: -InstallDir $(_programfilesx86) -Architecture $(_Platform) -Runtime windowsdesktop -Version 8.0.0-preview.3.23178.1
condition: eq(variables['_Platform'], 'x86')
- task: PowerShell@2
displayName: Replace WPF binaries
inputs:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册