summaryrefslogtreecommitdiffstats
path: root/.ci/templates/sync-source.yml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.ci/templates/sync-source.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.ci/templates/sync-source.yml b/.ci/templates/sync-source.yml
new file mode 100644
index 000000000..409e1cd83
--- /dev/null
+++ b/.ci/templates/sync-source.yml
@@ -0,0 +1,7 @@
+steps:
+- ${{ if eq(parameters.artifactSource, 'true') }}:
+ - template: ./retrieve-artifact-source.yml
+- ${{ if ne(parameters.artifactSource, 'true') }}:
+ - template: ./retrieve-master-source.yml
+ parameters:
+ needSubmodules: $(parameters.needSubmodules) \ No newline at end of file