Skip to content

Commit

Permalink
exclude root folder when zip (#2306)
Browse files Browse the repository at this point in the history
Co-authored-by: adam230594 <[email protected]>
  • Loading branch information
adam230594 and adam230594 authored Jun 9, 2022
1 parent 79ecc74 commit ee277f1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ steps:
- task: ArchiveFiles@2
displayName: 'Archive SFA.DAS.Account.Api'
inputs:
includeRootFolder: false
rootFolderOrFile: '$(build.artifactstagingdirectory)/SFA.DAS.EmployerAccounts.Api'
archiveFile: '$(Build.ArtifactStagingDirectory)/publish/SFA.DAS.EmployerAccounts.Api.zip'

Expand All @@ -94,6 +95,7 @@ steps:
- task: ArchiveFiles@2
displayName: 'Archive SFA.DAS.EmployerAccounts.Web'
inputs:
includeRootFolder: false
rootFolderOrFile: '$(build.artifactstagingdirectory)/SFA.DAS.EmployerAccounts.Web'
archiveFile: '$(Build.ArtifactStagingDirectory)/publish/SFA.DAS.EmployerAccounts.Web.zip'

Expand All @@ -110,6 +112,7 @@ steps:
- task: ArchiveFiles@2
displayName: 'Archive SFA.DAS.EmployerAccounts.Host'
inputs:
includeRootFolder: false
rootFolderOrFile: '$(build.artifactstagingdirectory)/SFA.DAS.EmployerAccounts.Host'
archiveFile: '$(Build.ArtifactStagingDirectory)/publish/SFA.DAS.EmployerAccounts.Host.zip'

Expand All @@ -126,6 +129,7 @@ steps:
- task: ArchiveFiles@2
displayName: 'Archive SFA.DAS.EmployerFinance.Api'
inputs:
includeRootFolder: false
rootFolderOrFile: '$(build.artifactstagingdirectory)/SFA.DAS.EmployerFinance.Api'
archiveFile: '$(Build.ArtifactStagingDirectory)/publish/SFA.DAS.EmployerFinance.Api.zip'

Expand All @@ -142,6 +146,7 @@ steps:
- task: ArchiveFiles@2
displayName: 'Archive SFA.DAS.EmployerFinance.Web'
inputs:
includeRootFolder: false
rootFolderOrFile: '$(build.artifactstagingdirectory)/SFA.DAS.EmployerFinance.Web'
archiveFile: '$(Build.ArtifactStagingDirectory)/publish/SFA.DAS.EmployerFinance.Web.zip'

Expand All @@ -158,6 +163,7 @@ steps:
- task: ArchiveFiles@2
displayName: 'Archive SFA.DAS.EmployerFinance.Host'
inputs:
includeRootFolder: false
rootFolderOrFile: '$(build.artifactstagingdirectory)/SFA.DAS.EmployerFinance.Host'
archiveFile: '$(Build.ArtifactStagingDirectory)/publish/SFA.DAS.EmployerFinance.Host.zip'

Expand All @@ -174,6 +180,7 @@ steps:
- task: ArchiveFiles@2
displayName: 'Archive SFA.DAS.EAS.Account.Api'
inputs:
includeRootFolder: false
rootFolderOrFile: '$(build.artifactstagingdirectory)/SFA.DAS.EAS.Account.Api'
archiveFile: '$(Build.ArtifactStagingDirectory)/publish/SFA.DAS.EAS.Account.Api.zip'

Expand All @@ -190,6 +197,7 @@ steps:
- task: ArchiveFiles@2
displayName: 'Archive SFA.DAS.EAS.Web'
inputs:
includeRootFolder: false
rootFolderOrFile: '$(build.artifactstagingdirectory)/SFA.DAS.EAS.Web'
archiveFile: '$(Build.ArtifactStagingDirectory)/publish/SFA.DAS.EAS.Web.zip'

Expand All @@ -206,6 +214,7 @@ steps:
- task: ArchiveFiles@2
displayName: 'Archive SFA.DAS.EAS.Support.Web'
inputs:
includeRootFolder: false
rootFolderOrFile: '$(build.artifactstagingdirectory)/SFA.DAS.EAS.Support.Web'
archiveFile: '$(Build.ArtifactStagingDirectory)/publish/SFA.DAS.EAS.Support.Web.zip'

Expand Down

0 comments on commit ee277f1

Please sign in to comment.