Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Commit c4a7775

Browse files
authored
Publish build artifacts in pipeline.
1 parent 8bb70a1 commit c4a7775

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.azure-pipelines/main.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,15 @@ stages:
6969
command: publish
7070
arguments: '--configuration $(configuration) --output $(Build.ArtifactStagingDirectory)'
7171
publishWebProjects: false
72+
73+
- pwsh: |
74+
get-childitem src\ArmTemplates\bin\$(configuration)\netcoreapp3.1
75+
displayName: Display Build Package Contents
76+
77+
- task: PublishBuildArtifacts@1
78+
displayName: Publish Build Artifacts
79+
inputs: 'src\ArmTemplates\bin\$(configuration)\netcoreapp3.1'
80+
artifactName: build
7281

7382
- stage: postbuild
7483
displayName: 'Post Build Checks'
@@ -115,4 +124,4 @@ stages:
115124
ToolLogsNotFoundAction: 'Standard'
116125

117126
- task: PublishSecurityAnalysisLogs@3
118-
displayName: 'Publish security analysis logs'
127+
displayName: 'Publish security analysis logs'

0 commit comments

Comments
 (0)