From f99d00fa386436670a1165d527db127c942013b9 Mon Sep 17 00:00:00 2001 From: Baiju Meswani Date: Tue, 27 Sep 2022 17:20:17 -0700 Subject: [PATCH] Add rel* branches to upload training packages to final storage (#13124) --- .../templates/py-packaging-training-cuda-stage.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ci_build/github/azure-pipelines/templates/py-packaging-training-cuda-stage.yml b/tools/ci_build/github/azure-pipelines/templates/py-packaging-training-cuda-stage.yml index bc740eb18e..c54d6925eb 100644 --- a/tools/ci_build/github/azure-pipelines/templates/py-packaging-training-cuda-stage.yml +++ b/tools/ci_build/github/azure-pipelines/templates/py-packaging-training-cuda-stage.yml @@ -57,7 +57,7 @@ stages: variables: - name: isMain - value: ${{ eq(variables['Build.SourceBranch'], 'refs/heads/main') }} + value: ${{ or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), startsWith(variables['Build.SourceBranch'], 'refs/heads/rel-')) }} - name: finalStorage ${{ if eq(variables['isMain'], 'true') }}: value: '--final_storage'