As the ADO documenation on using system variables in pipeline conditions is not very clear, I came here to find an answer. But I found two.
condition: eq(variables.buildSourceBranchName, 'main')
and
condition: eq(variables['Build.SourceBranchName'], 'main')
give me the same result. Is there any difference? I so what is that difference?