[Localization] Change the Input value (#12029)

* changing the isCreatePrSelected input

* remove the variable representation

Co-authored-by: tj_devel709 <antlambe@microsoft.com>
This commit is contained in:
TJ Lambert 2021-06-28 10:36:36 -05:00 коммит произвёл GitHub
Родитель 870ffa0117
Коммит a134a75f9e
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 4 добавлений и 1 удалений

Просмотреть файл

@ -174,7 +174,10 @@ steps:
inputs:
locProj: '$(Build.SourcesDirectory)\Localize\LocProject.json'
outDir: '$(Build.ArtifactStagingDirectory)'
isCreatePrSelected: eq(variables.isScheduled, 'True')
${{ if eq(variables['Build.Reason'], 'Schedule') }}:
isCreatePrSelected: true
${{ if ne(variables['Build.Reason'], 'Schedule') }}:
isCreatePrSelected: false
packageSourceAuth: patAuth
patVariable: '$(OneLocBuild--PAT)'
isAutoCompletePrSelected: false