title: Using nested parameters with template in Azure Pipelines yaml file
body: <p>Is there any way to use nested within <code>parameters</code> on <code>azure-pipelines.yml</code>?
  The example below is wrong...</p>
  
  <pre><code># my-template.yml
  parameters:
  steps:
  - ${{ each pf in parameters.pf }}:
    - task: PublishBuildArtifacts@1
      displayName: 'Publish ${{ pf.rid }} ${{ pf.output }}'
      inputs:
        PathtoPublish: '$(Build.ArtifactStagingDirectory)/${{ pf.output }}.zip'
  </code></pre>
  
  <pre><code># azure-pipelines.yml
  steps:
  - template: my-template.yml
    parameters:
    - windows:
        rid: 'win-x64'
        output: 'Foo.exe'
    - macos:
        rid: 'osx-x64'
        output: 'foo'
  </code></pre>