@@ -17,10 +17,17 @@ steps:
17
17
filePath : tools/azurePipelinesBuild.ps1
18
18
pwsh : ${{ parameters.pwsh }}
19
19
20
+ - task : PublishTestResults@2
21
+ displayName : Publish test results
22
+ inputs :
23
+ testRunner : VSTest
24
+ testResultsFiles : ' **/*.trx'
25
+ condition : succeededOrFailed()
26
+
20
27
# NOTE: We zip the artifacts because they're ~20 MB compressed, but ~300 MB raw,
21
28
# and we have limited pipeline artifact storage space.
22
29
- task : ArchiveFiles@2
23
- displayName : Zip pipeline artifacts
30
+ displayName : Zip build output
24
31
inputs :
25
32
rootFolderOrFile : module
26
33
includeRootFolder : false
@@ -30,11 +37,17 @@ steps:
30
37
31
38
- publish : PowerShellEditorServices-Build.zip
32
39
artifact : PowerShellEditorServices-Build-$(System.JobId)
33
- displayName : Publish unsigned pipeline artifacts
40
+ displayName : Publish build output archive
34
41
35
- - task : PublishTestResults @2
36
- displayName : Publish test results
42
+ - task : ArchiveFiles @2
43
+ displayName : Zip sources with `project.assets.json`
37
44
inputs :
38
- testRunner : VSTest
39
- testResultsFiles : ' **/*.trx'
40
- condition : succeededOrFailed()
45
+ rootFolderOrFile : src
46
+ includeRootFolder : false
47
+ archiveType : zip
48
+ archiveFile : PowerShellEditorServices-Sources.zip
49
+ verbose : true
50
+
51
+ - publish : PowerShellEditorServices-Sources.zip
52
+ artifact : PowerShellEditorServices-Sources-$(System.JobId)
53
+ displayName : Publish sources archive
0 commit comments