11steps :
2-
32- download : current
43 displayName : Download unsigned pipeline artifacts
54
5+ - task : ExtractFiles@1
6+ displayName : Extract unsigned artifacts
7+ inputs :
8+ archiveFilePatterns : $(Pipeline.Workspace)/PowerShellEditorServices-Build-*/PowerShellEditorServices-Build.zip
9+ destinationFolder : $(Pipeline.Workspace)/Unsigned
10+ cleanDestinationFolder : true
11+
612- checkout : ComplianceRepo
713
814# NOTE: The signing templates explicitly copy everything along as they run, so
915# the last output path has every signed (and intentionally unsigned) file.
1016- template : EsrpSign.yml@ComplianceRepo
1117 parameters :
12- buildOutputPath : $(Pipeline.Workspace)/PowerShellEditorServices-Build-*
18+ buildOutputPath : $(Pipeline.Workspace)/Unsigned
1319 signOutputPath : $(Pipeline.Workspace)/FirstPartySigned
1420 alwaysCopy : true
1521 certificateId : CP-230012 # Authenticode certificate
4349 **/UnixConsoleEcho.dll
4450
4551 - task : ArchiveFiles@2
46- displayName : Zip finished assets
52+ displayName : Zip signed artifacts
4753 inputs :
4854 rootFolderOrFile : $(Pipeline.Workspace)/ThirdPartySigned
4955 includeRootFolder : false
@@ -52,10 +58,6 @@ steps:
5258 replaceExistingArchive : true
5359 verbose : true
5460
55- - publish : PowerShellEditorServices.zip
56- artifact : PowerShellEditorServices
57- displayName : Publish signed pipeline artifacts
58-
5961- checkout : self
6062
6163- template : assembly-module-compliance.yml@ComplianceRepo
7476 optionsFTPath : $(Build.SourcesDirectory)/PowerShellEditorServices/tools/terms/FileTypeSet.xml
7577 # tsa-upload
7678 codeBaseName : PowerShell_PowerShellEditorServices_20210201
77- # selections
79+ # We don't use any Windows APIs directly, so we don't need API scan
7880 APIScan : false
81+
82+ - publish : PowerShellEditorServices.zip
83+ artifact : PowerShellEditorServices
84+ displayName : Publish signed pipeline artifacts
0 commit comments