diff --git a/tools/ci_build/github/azure-pipelines/templates/win-ci-2019.yml b/tools/ci_build/github/azure-pipelines/templates/win-ci-2019.yml index 700b209d24..db79d29fef 100644 --- a/tools/ci_build/github/azure-pipelines/templates/win-ci-2019.yml +++ b/tools/ci_build/github/azure-pipelines/templates/win-ci-2019.yml @@ -170,7 +170,7 @@ jobs: condition: succeededOrFailed() # Nuget packaging if needed - - ${{ if and(eq(parameters['DoNugetPack'], 'true'), eq('$(BuildConfig)', 'RelWithDebInfo')) }}: + - ${{ if eq(parameters['DoNugetPack'], 'true') }}: - task: BatchScript@1 displayName: 'Setup VS2019 env vars' inputs: