Update release conditions

azure-pipelines
Joseph Donofry 6 years ago
parent 9a1f2f8373
commit e0095536b7
No known key found for this signature in database
GPG Key ID: E8A1D78EF044B0CB
  1. 4
      .ci/azure-build.yml

@ -23,8 +23,10 @@ steps:
#cleanTargetFolder: false # Optional
#overWrite: false # Optional
#flattenFolders: false # Optional
# 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: succeeded()
condition: and(succeeded(), eq( $(buildSuccess), 'true' ) )
inputs:
gitHubConnection: nheko-reborn-pipeline
repositoryName: '$(Build.Repository.Name)'

Loading…
Cancel
Save