mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Only upload Windows crash reports if the S3 key environment var is null
This seems like a more robust test than the isRelease variable I was testing previously. Our goal is to not leak secrets such as the S3 key, so this is a more direct test of that.
This commit is contained in:
@@ -114,7 +114,7 @@ jobs:
|
||||
PathtoPublish: $(Build.ArtifactStagingDirectory)/crash-reports
|
||||
ArtifactName: crash-reports
|
||||
displayName: Publish crash reports on non-release branch
|
||||
condition: and(failed(), eq(variables['IsReleaseBranch'], 'false'))
|
||||
condition: and(failed(), eq(variables['ATOM_RELEASES_S3_KEY'], ''))
|
||||
|
||||
- task: PublishBuildArtifacts@1
|
||||
inputs:
|
||||
|
||||
Reference in New Issue
Block a user