Skip to content

Commit

Permalink
Stop archiving the entire build directory.
Browse files Browse the repository at this point in the history
  • Loading branch information
teo-tsirpanis committed Sep 19, 2023
1 parent f598f54 commit e80126d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 33 deletions.
16 changes: 0 additions & 16 deletions scripts/azure-linux_mac-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,22 +131,6 @@ steps:
displayName: 'Dump vcpkg logs'
continueOnError: true

- task: ArchiveFiles@2
inputs:
rootFolderOrFile: '$(Build.Repository.LocalPath)'
includeRootFolder: false
archiveType: 'tar' # Options: zip, 7z, tar, wim
tarCompression: 'gz' # Optional. Options: gz, bz2, xz, none
archiveFile: $(Build.ArtifactStagingDirectory)/tiledb-$(ARTIFACT_OS)-$(ARTIFACT_ARCH)-build-dir.tar.gz
replaceExistingArchive: true
verbose: true # Optional

- task: PublishBuildArtifacts@1
inputs:
pathToPublish: '$(Build.ArtifactStagingDirectory)/tiledb-$(ARTIFACT_OS)-$(ARTIFACT_ARCH)-build-dir.tar.gz'
artifactName: 'build-dirs'
condition: succeeded()

- script: |
echo $sourceVersion
commitHash=${sourceVersion:0:7}
Expand Down
17 changes: 0 additions & 17 deletions scripts/azure-windows-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,20 +113,3 @@ steps:
pathToPublish: '$(Build.ArtifactStagingDirectory)\tiledb-$(ARTIFACT_OS)-$(ARTIFACT_ARCH)-$(Build.SourceBranchName)-$(commitHash).zip'
artifactName: 'built-libs'
condition: succeeded()

- task: ArchiveFiles@2
inputs:
rootFolderOrFile: '$(Agent.BuildDirectory)\s\'
includeRootFolder: false
archiveType: 'zip' # Options: zip, 7z, tar, wim
archiveFile: $(Build.ArtifactStagingDirectory)/tiledb-$(ARTIFACT_OS)-$(ARTIFACT_ARCH)-build-dir.zip
replaceExistingArchive: true
verbose: true # Optional
continueOnError: true

- task: PublishBuildArtifacts@1
inputs:
pathToPublish: '$(Build.ArtifactStagingDirectory)/tiledb-$(ARTIFACT_OS)-$(ARTIFACT_ARCH)-build-dir.zip'
artifactName: 'build-dirs'
condition: succeeded()
continueOnError: true

0 comments on commit e80126d

Please sign in to comment.