Sfoglia il codice sorgente

Add submodule update to build.

Erwin de Haan 5 anni fa
parent
commit
8f2ec3b197
1 ha cambiato i file con 14 aggiunte e 2 eliminazioni
  1. 14 2
      .ci/azure-pipelines.yml

+ 14 - 2
.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