File tree Expand file tree Collapse file tree 2 files changed +21
-4
lines changed Expand file tree Collapse file tree 2 files changed +21
-4
lines changed Original file line number Diff line number Diff line change @@ -13,10 +13,20 @@ steps:
1313 filePath : tools/azurePipelinesBuild.ps1
1414 pwsh : ${{ parameters.pwsh }}
1515
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
1728 artifact : PowerShellEditorServices-Build-$(System.JobId)
1829 displayName : Publish unsigned pipeline artifacts
19- condition : succeededOrFailed()
2030
2131- task : PublishTestResults@2
2232 displayName : Publish test results
Original file line number Diff line number Diff line change 22- download : current
33 displayName : Download unsigned pipeline artifacts
44
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+
512- checkout : ComplianceRepo
613
714# NOTE: The signing templates explicitly copy everything along as they run, so
815# the last output path has every signed (and intentionally unsigned) file.
916- template : EsrpSign.yml@ComplianceRepo
1017 parameters :
11- buildOutputPath : $(Pipeline.Workspace)/PowerShellEditorServices-Build-*
18+ buildOutputPath : $(Pipeline.Workspace)/Unsigned
1219 signOutputPath : $(Pipeline.Workspace)/FirstPartySigned
1320 alwaysCopy : true
1421 certificateId : CP-230012 # Authenticode certificate
4249 **/UnixConsoleEcho.dll
4350
4451 - task : ArchiveFiles@2
45- displayName : Zip finished assets
52+ displayName : Zip signed artifacts
4653 inputs :
4754 rootFolderOrFile : $(Pipeline.Workspace)/ThirdPartySigned
4855 includeRootFolder : false
You can’t perform that action at this time.
0 commit comments