@@ -193,6 +193,7 @@ stages:
193
193
condition : and(succeeded(), eq(variables['target'], 'x86_64-unknown-linux-gnu'))
194
194
inputs :
195
195
rootFolderOrFile : ' $(Build.SourcesDirectory)'
196
+ includeRootFolder : false
196
197
archiveType : ' 7z'
197
198
archiveFile : ' $(Build.ArtifactStagingDirectory)/crate/rnp.source.7z'
198
199
@@ -217,6 +218,7 @@ stages:
217
218
condition : and(succeeded(), eq(variables['target'], 'x86_64-unknown-linux-gnu'))
218
219
inputs :
219
220
rootFolderOrFile : ' $(System.DefaultWorkingDirectory)/staging/crate'
221
+ includeRootFolder : false
220
222
archiveType : ' zip'
221
223
archiveFile : ' $(Build.ArtifactStagingDirectory)/source/rnp.source.$(build.tag).zip'
222
224
@@ -225,6 +227,7 @@ stages:
225
227
condition : and(succeeded(), eq(variables['target'], 'x86_64-unknown-linux-gnu'))
226
228
inputs :
227
229
rootFolderOrFile : ' $(System.DefaultWorkingDirectory)/staging/crate'
230
+ includeRootFolder : false
228
231
archiveType : ' tar'
229
232
tarCompression : ' gz'
230
233
archiveFile : ' $(Build.ArtifactStagingDirectory)/source/rnp.source.$(build.tag).tar.gz'
@@ -316,7 +319,7 @@ stages:
316
319
#
317
320
- task : PublishPipelineArtifact@1
318
321
displayName : Publish pipeline artifact
319
- # condition: and(succeeded(), ne(variables['Build.Reason'], 'PullRequest'))
322
+ condition : and(succeeded(), ne(variables['Build.Reason'], 'PullRequest'))
320
323
inputs :
321
324
targetPath : ' $(Build.ArtifactStagingDirectory)'
322
325
0 commit comments