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)