diff --git a/eng/pipelines/prepare-release.yml b/eng/pipelines/prepare-release.yml index a7bff089f3..81f644e15c 100644 --- a/eng/pipelines/prepare-release.yml +++ b/eng/pipelines/prepare-release.yml @@ -23,10 +23,10 @@ stages: displayName: 'Build Manifest generation and asset publishing tool' - ${{ elseif and(ne(variables['System.TeamProject'], 'public'), startsWith(variables['Build.SourceBranch'], 'refs/heads/release/')) }}: - task: UseDotNet@2 - displayName: 'Use .NET Core runtime 6.x' + displayName: 'Use .NET Core runtime 8.x' inputs: packageType: runtime - version: 6.x + version: 8.x installationPath: '$(Build.Repository.LocalPath)\.dotnet' - template: /eng/common/templates/post-build/setup-maestro-vars.yml