@@ -20,13 +20,16 @@ variables:
2020extends :
2121 template : azure-pipelines/MicroBuild.1ES.Official.yml@MicroBuildTemplate
2222 parameters :
23+ settings :
24+ networkIsolationPolicy : Permissive,CFSClean
2325 sdl :
2426 sourceAnalysisPool : VSEngSS-MicroBuild2022-1ES
2527
2628 stages :
2729 - stage : release
2830 jobs :
29- - job : release
31+ - job : nuget
32+ displayName : 📦 Push nuget.org packages
3033 pool :
3134 name : AzurePipelines-EO
3235 demands :
@@ -43,6 +46,28 @@ extends:
4346 publishFeedCredentials : Microsoft.Windows.CsWin32
4447 steps :
4548 - checkout : none
49+ - download : CI
50+ artifact : deployables-Windows
51+ displayName : 🔻 Download deployables-Windows artifact
52+ patterns : ' NuGet/*'
53+ - job : github
54+ displayName : 📢 GitHub release
55+ dependsOn : nuget
56+ pool :
57+ name : AzurePipelines-EO
58+ demands :
59+ - ImageOverride -equals 1ESPT-Ubuntu22.04
60+ os : Linux
61+ templateContext :
62+ type : releaseJob
63+ isProduction : true
64+ inputs :
65+ - input : pipelineArtifact
66+ pipeline : CI
67+ artifactName : deployables-Windows
68+ targetPath : $(Pipeline.Workspace)/CI/deployables-Windows
69+ steps :
70+ - checkout : none
4671 - powershell : |
4772 Write-Host "##vso[build.updatebuildnumber]$(resources.pipeline.CI.runName)"
4873 if ('$(resources.pipeline.CI.runName)'.Contains('-')) {
@@ -51,10 +76,6 @@ extends:
5176 Write-Host "##vso[task.setvariable variable=IsPrerelease]false"
5277 }
5378 displayName: ⚙ Set up pipeline
54- - download : CI
55- artifact : deployables-Windows
56- displayName : 🔻 Download deployables-Windows artifact
57- patterns : ' NuGet/*'
5879 - task : GitHubRelease@1
5980 displayName : 📢 GitHub release (create)
6081 inputs :
0 commit comments