azure: fix github release condition expression
@@ -82,7 +82,7 @@ jobs:
condition: ne(variables['exampleArgs'], '')
- task: ArchiveFiles@2
- condition: and(succeeded(), eq(variables['toolchain', 'stable'), or(eq(variables['Build.SourceBranchName'], 'master'), eq(variables['Build.SourceBranchName'], 'prebuilt-binaries')))
+ condition: and(succeeded(), eq(variables['toolchain'], 'stable'), or(eq(variables['Build.SourceBranchName'], 'master'), eq(variables['Build.SourceBranchName'], 'prebuilt-binaries')))
displayName: 'Archive binaries'
inputs:
rootFolderOrFile: '$(Build.ArtifactStagingDirectory)/skia-binaries'
@@ -91,7 +91,7 @@ jobs:
archiveFile: '$(Build.ArtifactStagingDirectory)/skia-binaries-$(SKIA_BINARIES_KEY).tar.gz'
- task: GithubRelease@0
- condition: and(succeeded(), eq(variables['toolchain', 'stable'), or(eq(variables['Build.SourceBranchName'], 'master'), eq(variables['Build.SourceBranchName'], 'prebuilt-binaries')))
+ condition: and(succeeded(), eq(variables['toolchain'], 'stable'), or(eq(variables['Build.SourceBranchName'], 'master'), eq(variables['Build.SourceBranchName'], 'prebuilt-binaries')))
displayName: 'Release to GitHub rust-skia/skia-binaries'
inputs:
action: edit
