From cdb7556d041b5db42049b39a9cf0363b5b9806a6 Mon Sep 17 00:00:00 2001 From: Aditya Patwardhan Date: Tue, 28 May 2024 14:35:29 -0700 Subject: [PATCH] Add checkout to fix TSA config paths (#23865) --- .pipelines/templates/release-symbols.yml | 5 +++++ .pipelines/templates/release-upload-buildinfo.yml | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/.pipelines/templates/release-symbols.yml b/.pipelines/templates/release-symbols.yml index f2260d57a8..6b728a75b0 100644 --- a/.pipelines/templates/release-symbols.yml +++ b/.pipelines/templates/release-symbols.yml @@ -28,6 +28,11 @@ jobs: value: $(Build.SourcesDirectory)\PowerShell\.config\suppress.json steps: + - checkout: self + clean: true + env: + ob_restore_phase: true # This ensures checkout is done at the beginning of the restore phase + - template: release-SetReleaseTagAndContainerName.yml - pwsh: | diff --git a/.pipelines/templates/release-upload-buildinfo.yml b/.pipelines/templates/release-upload-buildinfo.yml index bf3abcc3c5..3738328004 100644 --- a/.pipelines/templates/release-upload-buildinfo.yml +++ b/.pipelines/templates/release-upload-buildinfo.yml @@ -29,6 +29,11 @@ jobs: value: $(Build.SourcesDirectory)\PowerShell\.config\suppress.json steps: + - checkout: self + clean: true + env: + ob_restore_phase: true # This ensures checkout is done at the beginning of the restore phase + - template: release-SetReleaseTagAndContainerName.yml - pwsh: |