Skip to content

Commit 758447a

Browse files
authored
Fix source-only jobs to not test in UB (#48772)
1 parent 78ca092 commit 758447a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

eng/pipelines/templates/stages/source-build-and-validate.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,9 @@ stages:
9696
pool: ${{ parameters.pool_Linux }}
9797
buildSourceOnly: true
9898
${{ if eq(parameters.useMicrosoftBuildAssetsForTests, false) }}:
99-
runTests: false
10099
extraProperties: "/p:DisableDevBuildAsDefaultForSourceOnly=true"
100+
${{ else }}:
101+
runTests: false
101102
buildFromArchive: ${{ leg.buildFromArchive }}
102103
runOnline: ${{ leg.runOnline }}
103104
useMonoRuntime: ${{ leg.useMonoRuntime }}

0 commit comments

Comments
 (0)