File tree Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Original file line number Diff line number Diff line change 1+ # see /README.md
2+
3+ trigger :
4+ - main
5+
6+ pool :
7+ vmImage : windows-2022
8+
9+ jobs :
10+ - job : Build_and_Sign
11+ workspace :
12+ clean : all
13+ steps :
14+
15+ - task : PowerShell@2
16+ displayName : Build
17+ inputs :
18+ errorActionPreference : ' stop'
19+ pwsh : true
20+ filePath : ' ./src/Build.ps1'
21+
22+ - task : PowerShell@2
23+ displayName : Create SBOM
24+ inputs :
25+ errorActionPreference : ' stop'
26+ pwsh : true
27+ filePath : ' ./sbom/Create-SBOM.ps1'
28+
29+ - task : PublishBuildArtifacts@1
30+ inputs :
31+ PathtoPublish : ' $(Build.SourcesDirectory)/_BuildResult-unsigned'
32+ ArtifactName : ' unsigned-artifact'
33+
34+ - task : SubmitSigningRequest@1
35+ inputs :
36+ serviceConnectionName : ' SignPath Demo'
37+ projectSlug : ' Demo_Application'
38+ signingPolicySlug : ' release-signing'
39+ azureDevOpsArtifactName : ' unsigned-artifact'
40+ waitForCompletion : true
41+ outputArtifactDirectory : ' $(Build.SourcesDirectory)/demo-application-signed'
42+
43+ - task : PublishBuildArtifacts@1
44+ inputs :
45+ PathtoPublish : ' $(Build.SourcesDirectory)/demo-application-signed'
46+ ArtifactName : ' signed-artifact'
You can’t perform that action at this time.
0 commit comments