diff --git a/eng/pipelines/common/global-build-job.yml b/eng/pipelines/common/global-build-job.yml index ccf969e5b5764..d1332a2797f2f 100644 --- a/eng/pipelines/common/global-build-job.yml +++ b/eng/pipelines/common/global-build-job.yml @@ -142,7 +142,7 @@ jobs: clean: true fetchDepth: $(checkoutFetchDepth) - - ${{ if eq(parameters.isOfficialBuild, true) }}: + - ${{ if and(eq(parameters.isOfficialBuild, true), notin(parameters.osGroup, 'osx', 'maccatalyst', 'ios', 'iossimulator', 'tvos', 'tvossimulator')) }}: - template: /eng/pipelines/common/restore-internal-tools.yml - ${{ each monoCrossAOTTargetOS in parameters.monoCrossAOTTargetOS }}: