vs-validation/azure-pipelines/microbuild.after.yml

38 строки
1.3 KiB
YAML
Исходник Обычный вид История

2021-12-02 23:27:49 +03:00
parameters:
- name: EnableOptProf
type: boolean
default: false
- name: IsOptProf
type: boolean
default: false
- name: SkipCodesignVerify
type: boolean
2021-12-02 23:27:49 +03:00
steps:
- ${{ if not(parameters.SkipCodesignVerify) }}: # skip CodesignVerify on validation builds because we don't even test-sign nupkg's.
- task: MicroBuildCodesignVerify@3
displayName: 🔍 Verify Signed Files
inputs:
TargetFolders: |
$(Build.SourcesDirectory)/bin/Packages/$(BuildConfiguration)
condition: and(succeeded(), eq(variables['Agent.OS'], 'Windows_NT'))
2019-08-12 20:56:02 +03:00
- ${{ if parameters.IsOptProf }}:
- 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'))
continueOnError: true
- task: PublishBuildArtifacts@1
inputs:
PathtoPublish: $(Build.ArtifactStagingDirectory)/InsertionOutputs
ArtifactName: InsertionOutputs
ArtifactType: Container
displayName: 📢 Publish InsertionOutputs as Azure DevOps artifacts