Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 14 additions & 11 deletions .azure/pipelines/templates/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,20 +51,23 @@ parameters:
displayName: Run CodeQL3000 tasks
type: boolean


jobs:

# Approval needed for publishing to nuget.org
- ${{ if and(eq(parameters.codesign, true), eq(parameters.publish_nuget, true)) }}:
- job: PreDeploymentApprovalJob
displayName: Pre-Deployment Approval
condition: succeeded()
timeoutInMinutes: 2880
- job: PreDeploymentApprovalJob
displayName: Pre-Deployment Approval
timeoutInMinutes: 2880
${{ if and(eq(parameters.codesign, true), eq(parameters.publish_nuget, true)) }}:
pool: server
steps:
- task: ManualValidation@1
inputs:
notifyUsers: ${{ variables.notifyUsers }}
approvers: ${{ variables.approvers }}
steps:
- ${{ if and(eq(parameters.codesign, true), eq(parameters.publish_nuget, true)) }}:
- task: ManualValidation@1
inputs:
notifyUsers: ${{ variables.notifyUsers }}
approvers: ${{ variables.approvers }}
- ${{ if not(and(eq(parameters.codesign, true), eq(parameters.publish_nuget, true))) }}:
- script: echo "Skipping pre-deployment approval"

# Build, sign dlls, build nuget pkgs, then sign them
- job: Build
Expand Down Expand Up @@ -237,4 +240,4 @@ jobs:
inputs:
Contents: '**\*.dmp'
TargetFolder: '$(Build.ArtifactStagingDirectory)/test_outputs_${{category}}_${{framework}}_$(Build.BuildId)'
OverWrite: true
OverWrite: true