1
1
steps :
2
-
3
2
- download : current
4
3
displayName : Download unsigned pipeline artifacts
5
4
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
+
6
12
- checkout : ComplianceRepo
7
13
8
14
# NOTE: The signing templates explicitly copy everything along as they run, so
9
15
# the last output path has every signed (and intentionally unsigned) file.
10
16
- template : EsrpSign.yml@ComplianceRepo
11
17
parameters :
12
- buildOutputPath : $(Pipeline.Workspace)/PowerShellEditorServices-Build-*
18
+ buildOutputPath : $(Pipeline.Workspace)/Unsigned
13
19
signOutputPath : $(Pipeline.Workspace)/FirstPartySigned
14
20
alwaysCopy : true
15
21
certificateId : CP-230012 # Authenticode certificate
43
49
**/UnixConsoleEcho.dll
44
50
45
51
- task : ArchiveFiles@2
46
- displayName : Zip finished assets
52
+ displayName : Zip signed artifacts
47
53
inputs :
48
54
rootFolderOrFile : $(Pipeline.Workspace)/ThirdPartySigned
49
55
includeRootFolder : false
@@ -52,10 +58,6 @@ steps:
52
58
replaceExistingArchive : true
53
59
verbose : true
54
60
55
- - publish : PowerShellEditorServices.zip
56
- artifact : PowerShellEditorServices
57
- displayName : Publish signed pipeline artifacts
58
-
59
61
- checkout : self
60
62
61
63
- template : assembly-module-compliance.yml@ComplianceRepo
74
76
optionsFTPath : $(Build.SourcesDirectory)/PowerShellEditorServices/tools/terms/FileTypeSet.xml
75
77
# tsa-upload
76
78
codeBaseName : PowerShell_PowerShellEditorServices_20210201
77
- # selections
79
+ # We don't use any Windows APIs directly, so we don't need API scan
78
80
APIScan : false
81
+
82
+ - publish : PowerShellEditorServices.zip
83
+ artifact : PowerShellEditorServices
84
+ displayName : Publish signed pipeline artifacts
0 commit comments