File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7979 TargetFolder : " $(Build.ArtifactStagingDirectory)/generated"
8080
8181 - task : PublishBuildArtifacts@1
82- displayName : ' Publish Files'
82+ displayName : ' Publish Files: $(ArtifactName) '
8383 inputs :
84- ArtifactName : ' GeneratedFiles '
84+ ArtifactName : ' $(ArtifactName) '
8585 PathtoPublish : ' $(Build.ArtifactStagingDirectory)'
Original file line number Diff line number Diff line change 11# Copyright (c) Microsoft Corporation. All rights reserved.
22# Licensed under the MIT License.
33
4- parameters :
5- - name : FolderPath
6- type : string
7- default : $(Build.ArtifactStagingDirectory)
8- - name : Pattern
9- type : string
10- default : " *.nupkg"
11-
124steps :
135 - task : SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1
146 displayName : " ESRP CodeSigning Nuget Packages"
157 inputs :
168 ConnectedServiceName : " microsoftgraph ESRP CodeSign DLL and NuGet (AKV)"
17- FolderPath : ${{ parameters.FolderPath }}
18- Pattern : ${{ parameters.Pattern }}}
9+ FolderPath : " $(Build.ArtifactStagingDirectory) "
10+ Pattern : " *.nupkg "
1911 signConfigType : inlineSignParams
2012 inlineOperation : |
2113 [
Original file line number Diff line number Diff line change 44variables :
55 BuildPlatform : " Any CPU"
66 BuildConfiguration : " Release"
7+ ArtifactName : " GeneratedFiles"
78 ProductBinPath : ' $(Build.SourcesDirectory)/src/Microsoft.Graph.Bicep.Types/bin/$(BuildConfiguration)'
89 BuildSolution : ' $(Build.SourcesDirectory)/Microsoft.Graph.Bicep.Types.sln'
910 SwaggerFilePath : ' $(Build.SourcesDirectory)/swagger/specification/microsoftgraph/resource-manager/microsoftgraph/preview/2023-09-15-preview'
Original file line number Diff line number Diff line change @@ -47,12 +47,12 @@ stages:
4747 - task : DownloadPipelineArtifact@2
4848 displayName : Download nupkg from artifacts
4949 inputs :
50- artifact : Nugets
50+ artifact : " $(ArtifactName) "
5151 source : current
5252 - task : NuGetCommand@2
5353 displayName : " NuGet push"
5454 inputs :
5555 command : push
56- packagesToPush : " $(Pipeline.Workspace)/Nugets /Microsoft.Graph.Bicep.Types.*.nupkg"
56+ packagesToPush : " $(Pipeline.Workspace)/$(ArtifactName) /Microsoft.Graph.Bicep.Types.*.nupkg"
5757 nuGetFeedType : external
5858 publishFeedCredentials : " microsoftgraph NuGet connection"
You can’t perform that action at this time.
0 commit comments