diff --git a/.azure/azure-benchmark-pipeline.yaml b/.azure/azure-benchmark-pipeline.yaml index 133de713..f0c7c063 100644 --- a/.azure/azure-benchmark-pipeline.yaml +++ b/.azure/azure-benchmark-pipeline.yaml @@ -72,13 +72,13 @@ steps: condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/heads/release/')) - script: | - mkdir -p artifact_output/benchmark/results/v$(MAJOR_VERSION) - cp -r benchmark/results/v$(MAJOR_VERSION)/v$(VERSION) artifact_output/benchmark/results/v$(MAJOR_VERSION)/ + ls benchmark/results/v$(MAJOR_VERSION)/v$(VERSION) + tar czf benchmark.tar.gz benchmark/results/v$(MAJOR_VERSION)/v$(VERSION) displayName: 'Prepare Artifacts for Publishing' - task: PublishPipelineArtifact@1 inputs: - targetPath: 'artifact_output/benchmark/results' # Path to the files you want to publish + targetPath: benchmark.tar.gz # Path to the files you want to publish artifactName: 'benchmark-output' # Name of the artifact publishLocation: 'pipeline' displayName: 'Publish Benchmark Output as Artifact'