Skip to content

Commit 725cf71

Browse files
Fix condition on mono-wasm workloads (#90646)
Co-authored-by: Juan Sebastian Hoyos Ayala <[email protected]>
1 parent b62a300 commit 725cf71

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

eng/pipelines/common/global-build-job.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,15 +153,15 @@ jobs:
153153
- template: /eng/pipelines/common/restore-internal-tools.yml
154154

155155
- ${{ if ne(variables['System.TeamProject'], 'public') }}:
156-
- ${{ if ne(parameters.osGroup, 'windows') }}:
156+
- ${{ if and(ne(parameters.osGroup, 'windows'), ne(parameters.hostedOs, 'windows')) }}:
157157
- task: Bash@3
158158
displayName: Setup Private Feeds Credentials
159159
inputs:
160160
filePath: $(Build.SourcesDirectory)/eng/common/SetupNugetSources.sh
161161
arguments: $(Build.SourcesDirectory)/NuGet.config $Token
162162
env:
163163
Token: $(dn-bot-dnceng-artifact-feeds-rw)
164-
- ${{ if eq(parameters.osGroup, 'windows') }}:
164+
- ${{ else }}:
165165
- task: PowerShell@2
166166
displayName: Setup Private Feeds Credentials
167167
inputs:

0 commit comments

Comments
 (0)