I'm converting a standard Azure Devops pipeline to a yaml pipeline.
Currently, my azurepipelines.yml has an error I don't understand. It's a simple powershell script, I copied the yaml from the pipeline, and placed it in the azurepipelines.yml.
Error is presently at line 49.
displayName: 'PowerShell Script'
inputs:
scriptType: inlineScript
inlineScript: |
[pscustomobject]@{"gitversion" = "$(GITVERSION.NuGetVersion)" } | Export-Csv "buildparams.csv" -NoTypeInformation```