From 2ddfa081fc4143bfa331a2b87f1ae68c2862c0bb Mon Sep 17 00:00:00 2001 From: ryfu-msft Date: Tue, 12 Nov 2024 14:14:27 -0800 Subject: [PATCH] add dependencies --- pipelines/azure-pipelines.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pipelines/azure-pipelines.yml b/pipelines/azure-pipelines.yml index 41c7e531..c191e614 100644 --- a/pipelines/azure-pipelines.yml +++ b/pipelines/azure-pipelines.yml @@ -35,9 +35,9 @@ extends: skipBuildTagsForGitHubPullRequests: true stages: - - stage: + - stage: Prepare jobs: - - job: Prepare + - job: Prepare_Sign displayName: Prepare and sign ${{ parameters.moduleName }} steps: - task: NuGetToolInstaller@1 @@ -112,9 +112,10 @@ extends: { $notValid throw "A file is not signed" - } + } - job: publish_artifact displayName: Publish ${{ parameters.moduleName }} + dependsOn: Prepare_Sign templateContext: outputs: - output: pipelineArtifact @@ -123,6 +124,7 @@ extends: artifactName: ${{ parameters.moduleName }} - stage: Publish displayName: Manual Approval + dependsOn: Prepare trigger: manual jobs: - job: Execute_Publish_Module