Run nightly builds to ensure always green (#1651)
This commit is contained in:
Родитель
d8515272c4
Коммит
770964be7b
|
@ -18,6 +18,12 @@ steps:
|
|||
Write-Host "##vso[task.setvariable variable=PREVIEW_LABEL]$pr"
|
||||
displayName: Use a special preview label for PRs
|
||||
condition: eq(variables['Build.Reason'], 'PullRequest')
|
||||
- pwsh: |
|
||||
$nightly = "nightly"
|
||||
Write-Host "Preview label: $nightly"
|
||||
Write-Host "##vso[task.setvariable variable=PREVIEW_LABEL]$nightly"
|
||||
displayName: Use a special preview label for scheduled
|
||||
condition: eq(variables['Build.Reason'], 'Schedule')
|
||||
- pwsh: |
|
||||
$label = ""
|
||||
if ($env:BUILD_REASON -ne "PullRequest") {
|
||||
|
|
Загрузка…
Ссылка в новой задаче