@@ -19,15 +19,19 @@ stages:
19
19
- group : DotNet-Diagnostics-Storage
20
20
- group : DotNet-DotNetStage-Storage
21
21
- group : Release-Pipeline
22
- - name : BARBuildId
23
- value : $[ stageDependencies.publish_using_darc.setupMaestroVars.outputs['setReleaseVars.BARBuildId'] ]
24
22
steps :
25
23
- task : UseDotNet@2
26
24
displayName : ' Use .NET Core runtime 3.1.x'
27
25
inputs :
28
26
packageType : runtime
29
27
version : 3.1.x
30
28
installationPath : ' $(Build.Repository.LocalPath)\.dotnet'
29
+ - task : UseDotNet@2
30
+ displayName : ' Use .NET Core runtime 6.x'
31
+ inputs :
32
+ packageType : runtime
33
+ version : 6.x
34
+ installationPath : ' $(Build.Repository.LocalPath)\.dotnet'
31
35
- ${{ if not(and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'), or(startsWith(variables['Build.SourceBranch'], 'refs/heads/release/'), startsWith(variables['Build.SourceBranch'], 'refs/heads/internal/release/'), startsWith(variables['Build.SourceBranch'], 'refs/heads/test/release/')))) }} :
32
36
- script : ' $(Build.SourcesDirectory)\dotnet.cmd build $(Build.Repository.LocalPath)\eng\release\DiagnosticsReleaseTool\DiagnosticsReleaseTool.csproj -c Release /bl'
33
37
workingDirectory : ' $(System.ArtifactsDirectory)\'
@@ -38,13 +42,14 @@ stages:
38
42
publishLocation : ' pipeline'
39
43
artifact : ' DiagnosticsReleaseToolBin'
40
44
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'), or(startsWith(variables['Build.SourceBranch'], 'refs/heads/release/'), startsWith(variables['Build.SourceBranch'], 'refs/heads/internal/release/'), startsWith(variables['Build.SourceBranch'], 'refs/heads/test/release/'))) }} :
45
+ - template : /eng/common/templates/post-build/setup-maestro-vars.yml
41
46
- task : PowerShell@2
42
47
displayName : ' DARC Gather build'
43
48
inputs :
44
49
targetType : filePath
45
50
filePath : ' $(Build.Repository.LocalPath)/eng/release/Scripts/AcquireBuild.ps1'
46
51
arguments : >-
47
- -BarBuildId "$(BARBuildId)"
52
+ -BarBuildId "$(BARBuildId)"
48
53
-AzdoToken "$(dn-bot-dotnet-all-scopes)"
49
54
-MaestroToken "$(MaestroAccessToken)"
50
55
-GitHubToken "$(BotAccount-dotnet-bot-repo-PAT)"
0 commit comments