From 8f2ec3b197f4c07d6550cc1559f450484f22b209 Mon Sep 17 00:00:00 2001 From: Erwin de Haan Date: Tue, 17 Sep 2019 16:23:27 +0200 Subject: [PATCH] Add submodule update to build. --- .ci/azure-pipelines.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.ci/azure-pipelines.yml b/.ci/azure-pipelines.yml index 6417d500df..8ceee36757 100644 --- a/.ci/azure-pipelines.yml +++ b/.ci/azure-pipelines.yml @@ -28,7 +28,13 @@ jobs: - checkout: self clean: true submodules: true - persistCredentials: false + persistCredentials: true + + - task: CmdLine@2 + displayName: "Update submodules" + inputs: + script: 'git submodule update --recursive --remote' + workingDirectory: '$(Build.SourcesDirectory)' - task: DotNetCoreCLI@2 displayName: Publish @@ -87,7 +93,13 @@ jobs: - checkout: self clean: true submodules: true - persistCredentials: false + persistCredentials: true + + - task: CmdLine@2 + displayName: "Update submodules" + inputs: + script: 'git submodule update --recursive --remote' + workingDirectory: '$(Build.SourcesDirectory)' - task: CmdLine@2 displayName: Clone the UX repository