2021-12-02 23:27:49 +03:00
|
|
|
parameters:
|
2024-02-14 03:10:21 +03:00
|
|
|
- name: EnableOptProf
|
|
|
|
type: boolean
|
|
|
|
default: false
|
|
|
|
- name: IsOptProf
|
|
|
|
type: boolean
|
|
|
|
default: false
|
2024-08-27 22:49:29 +03:00
|
|
|
- name: SkipCodesignVerify
|
2024-08-21 19:54:40 +03:00
|
|
|
type: boolean
|
2021-12-02 23:27:49 +03:00
|
|
|
|
2019-07-13 07:29:54 +03:00
|
|
|
steps:
|
2024-08-27 22:49:29 +03:00
|
|
|
- ${{ if not(parameters.SkipCodesignVerify) }}: # skip CodesignVerify on validation builds because we don't even test-sign nupkg's.
|
2024-08-21 19:54:40 +03:00
|
|
|
- task: MicroBuildCodesignVerify@3
|
|
|
|
displayName: 🔍 Verify Signed Files
|
|
|
|
inputs:
|
2024-10-01 17:52:13 +03:00
|
|
|
ApprovalListPathForSigs: $(Build.SourcesDirectory)\azure-pipelines\no_strongname.txt
|
|
|
|
ApprovalListPathForCerts: $(Build.SourcesDirectory)\azure-pipelines\no_authenticode.txt
|
2024-08-21 19:54:40 +03:00
|
|
|
TargetFolders: |
|
|
|
|
$(Build.SourcesDirectory)/bin/Packages/$(BuildConfiguration)
|
|
|
|
condition: and(succeeded(), eq(variables['Agent.OS'], 'Windows_NT'))
|
2019-08-12 20:56:02 +03:00
|
|
|
|
2024-02-27 01:24:50 +03:00
|
|
|
- ${{ if parameters.IsOptProf }}:
|
2024-02-14 03:10:21 +03:00
|
|
|
- task: ms-vscs-artifact.build-tasks.artifactDropTask-1.artifactDropTask@0
|
|
|
|
inputs:
|
|
|
|
dropServiceURI: https://devdiv.artifacts.visualstudio.com
|
|
|
|
buildNumber: $(ProfilingInputsDropName)
|
|
|
|
sourcePath: $(Build.ArtifactStagingDirectory)\OptProf\ProfilingInputs
|
|
|
|
toLowerCase: false
|
|
|
|
usePat: true
|
|
|
|
displayName: 📢 Publish to Artifact Services - ProfilingInputs
|
|
|
|
condition: and(succeeded(), ne(variables['Build.Reason'], 'PullRequest'))
|
|
|
|
|
2024-02-27 01:24:50 +03:00
|
|
|
- task: PublishBuildArtifacts@1
|
|
|
|
inputs:
|
|
|
|
PathtoPublish: $(Build.ArtifactStagingDirectory)/InsertionOutputs
|
|
|
|
ArtifactName: InsertionOutputs
|
|
|
|
ArtifactType: Container
|
|
|
|
displayName: 📢 Publish InsertionOutputs as Azure DevOps artifacts
|