File tree 2 files changed +21
-4
lines changed
2 files changed +21
-4
lines changed Original file line number Diff line number Diff line change @@ -13,10 +13,20 @@ steps:
13
13
filePath : tools/azurePipelinesBuild.ps1
14
14
pwsh : ${{ parameters.pwsh }}
15
15
16
- - publish : module
16
+ # NOTE: We zip the artifacts because they're ~20 MB compressed, but ~300 MB raw,
17
+ # and we have limited pipeline artifact storage space.
18
+ - task : ArchiveFiles@2
19
+ displayName : Zip pipeline artifacts
20
+ inputs :
21
+ rootFolderOrFile : module
22
+ includeRootFolder : false
23
+ archiveType : zip
24
+ archiveFile : PowerShellEditorServices-Build.zip
25
+ verbose : true
26
+
27
+ - publish : PowerShellEditorServices-Build.zip
17
28
artifact : PowerShellEditorServices-Build-$(System.JobId)
18
29
displayName : Publish unsigned pipeline artifacts
19
- condition : succeededOrFailed()
20
30
21
31
- task : PublishTestResults@2
22
32
displayName : Publish test results
Original file line number Diff line number Diff line change 2
2
- download : current
3
3
displayName : Download unsigned pipeline artifacts
4
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
+
5
12
- checkout : ComplianceRepo
6
13
7
14
# NOTE: The signing templates explicitly copy everything along as they run, so
8
15
# the last output path has every signed (and intentionally unsigned) file.
9
16
- template : EsrpSign.yml@ComplianceRepo
10
17
parameters :
11
- buildOutputPath : $(Pipeline.Workspace)/PowerShellEditorServices-Build-*
18
+ buildOutputPath : $(Pipeline.Workspace)/Unsigned
12
19
signOutputPath : $(Pipeline.Workspace)/FirstPartySigned
13
20
alwaysCopy : true
14
21
certificateId : CP-230012 # Authenticode certificate
42
49
**/UnixConsoleEcho.dll
43
50
44
51
- task : ArchiveFiles@2
45
- displayName : Zip finished assets
52
+ displayName : Zip signed artifacts
46
53
inputs :
47
54
rootFolderOrFile : $(Pipeline.Workspace)/ThirdPartySigned
48
55
includeRootFolder : false
You can’t perform that action at this time.
0 commit comments