From 725cf71afc2afeae25a2d30e7374bd564d0df6d6 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 15 Aug 2023 16:21:30 -0700 Subject: [PATCH] Fix condition on mono-wasm workloads (#90646) Co-authored-by: Juan Sebastian Hoyos Ayala --- eng/pipelines/common/global-build-job.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eng/pipelines/common/global-build-job.yml b/eng/pipelines/common/global-build-job.yml index 55fc4dc15c6e0c..7e24fd3d045d5a 100644 --- a/eng/pipelines/common/global-build-job.yml +++ b/eng/pipelines/common/global-build-job.yml @@ -153,7 +153,7 @@ jobs: - template: /eng/pipelines/common/restore-internal-tools.yml - ${{ if ne(variables['System.TeamProject'], 'public') }}: - - ${{ if ne(parameters.osGroup, 'windows') }}: + - ${{ if and(ne(parameters.osGroup, 'windows'), ne(parameters.hostedOs, 'windows')) }}: - task: Bash@3 displayName: Setup Private Feeds Credentials inputs: @@ -161,7 +161,7 @@ jobs: arguments: $(Build.SourcesDirectory)/NuGet.config $Token env: Token: $(dn-bot-dnceng-artifact-feeds-rw) - - ${{ if eq(parameters.osGroup, 'windows') }}: + - ${{ else }}: - task: PowerShell@2 displayName: Setup Private Feeds Credentials inputs: