diff options
-rw-r--r-- | eng/pipelines/common/variables.yml | 2 | ||||
-rw-r--r-- | eng/pipelines/common/xplat-setup.yml | 6 |
2 files changed, 3 insertions, 5 deletions
diff --git a/eng/pipelines/common/variables.yml b/eng/pipelines/common/variables.yml index a478dd744c4..dd7fb894cf5 100644 --- a/eng/pipelines/common/variables.yml +++ b/eng/pipelines/common/variables.yml @@ -13,6 +13,8 @@ variables: value: ${{ and(ne(variables['System.TeamProject'], 'public'), ne(variables['Build.Reason'], 'PullRequest')) }} - name: isFullMatrix value: ${{ and(eq(variables['System.TeamProject'], 'public'), ne(variables['Build.Reason'], 'PullRequest')) }} +- name: isNotFullMatrix + value: ${{ and(eq(variables['System.TeamProject'], 'public'), eq(variables['Build.Reason'], 'PullRequest')) }} # We only run evaluate paths on runtime, runtime-staging and runtime-community pipelines on PRs # keep in sync with /eng/pipelines/common/xplat-setup.yml diff --git a/eng/pipelines/common/xplat-setup.yml b/eng/pipelines/common/xplat-setup.yml index c8043098c31..f82aaa8f5ee 100644 --- a/eng/pipelines/common/xplat-setup.yml +++ b/eng/pipelines/common/xplat-setup.yml @@ -50,11 +50,7 @@ jobs: value: $(buildConfigUpper) - name: _runSmokeTestsOnlyArg - ${{ if ne(variables['nonPRBuild'], true) }}: - value: /p:RunSmokeTestsOnly=true - ${{ if eq(variables['nonPRBuild'], true) }}: - value: '' - + value: '/p:RunSmokeTestsOnly=$(isNotFullMatrix)' - ${{ if or(eq(parameters.osGroup, 'windows'), eq(parameters.hostedOs, 'windows')) }}: - name: archiveExtension value: '.zip' |