Skip to content

Commit 43665d9

Browse files
authored
Only use hostArchitecture for Linux ADO builds (#2693)
1 parent 132013d commit 43665d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.ado/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ extends:
241241
name: ${{ target.poolName }}
242242
image: ${{ target.imageName }}
243243
os: ${{ target.os }}
244-
${{ if eq(target.arch, 'aarch64') }}:
244+
${{ if and(eq(target.arch, 'aarch64'), eq(target.os, 'linux')) }}:
245245
hostArchitecture: Arm64
246246
variables:
247247
arch: ${{ target.arch }}

0 commit comments

Comments
 (0)