Don't upload dep or tar.gz for RPM because there are none. (#16230)

This commit is contained in:
Travis Plunk 2021-10-18 13:07:20 -07:00 committed by GitHub
parent 061a644019
commit 240b3261b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -234,14 +234,15 @@ jobs:
displayName: Sign RPM
# requires windows
- task: AzureFileCopy@4
displayName: 'Upload to Azure - DEB and tar.gz'
inputs:
SourcePath: '$(System.ArtifactsDirectory)\finished\release\*'
azureSubscription: '$(AzureFileCopySubscription)'
Destination: AzureBlob
storage: '$(StorageAccount)'
ContainerName: '$(AzureVersion)'
- ${{ if ne(variables['buildName'], 'RPM') }}:
- task: AzureFileCopy@4
displayName: 'Upload to Azure - DEB and tar.gz'
inputs:
SourcePath: '$(System.ArtifactsDirectory)\finished\release\*'
azureSubscription: '$(AzureFileCopySubscription)'
Destination: AzureBlob
storage: '$(StorageAccount)'
ContainerName: '$(AzureVersion)'
- template: upload-final-results.yml
parameters: