From edc43319359a3bdaa77e8107b4ca93ce50151a8c Mon Sep 17 00:00:00 2001 From: Joseph Donofry Date: Sat, 18 May 2019 00:56:55 -0400 Subject: [PATCH] Update condition syntax --- .ci/azure-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/azure-build.yml b/.ci/azure-build.yml index b7ca2802..8cdcb54f 100644 --- a/.ci/azure-build.yml +++ b/.ci/azure-build.yml @@ -26,7 +26,7 @@ steps: # Create a variable for build success - pwsh: if( (Get-ChildItem $(Build.ArtifactStagingDirectory) | Measure-Object).Count -eq 0) { echo '##vso[task.setvariable variable=buildSuccess]false' } else { echo '##vso[task.setvariable variable=buildSuccess]true' } - task: GitHubRelease@0 - condition: and(succeeded(), eq( $(buildSuccess), 'true' ) ) + condition: and(succeeded(), eq(variables['buildSuccess'], 'true') ) inputs: gitHubConnection: nheko-reborn-pipeline repositoryName: '$(Build.Repository.Name)'