Skip to content

Commit 0ed47f5

Browse files
authored
Fix the incorrect variable value check inside PowerShell block. (#10809)
1 parent 916ce13 commit 0ed47f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eng/ci/templates/official/jobs/run-benchmarks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ jobs:
119119
$crankArgs += " $(AdditionalCrankArguments)"
120120
$command = "crank $crankArgs"
121121
122-
if ('${{ variables['storeBenchmarkResultsInDatabase'] }}' -eq 'true') {
122+
if ('$(storeBenchmarkResultsInDatabase)' -eq 'true') {
123123
$command += " --table HttpBenchmarks --sql `"$(BenchmarkResultsSqlConnectionString)`""
124124
}
125125

0 commit comments

Comments
 (0)