From: Alexander Köplinger Date: Wed, 19 Jul 2023 20:52:53 +0000 (+0200) Subject: Fix duplicated assets in official build (#89188) X-Git-Tag: accepted/tizen/unified/riscv/20231226.055536~885 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9343b2f61cc9e78be2c0d607bb5db0cc588aec49;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Fix duplicated assets in official build (#89188) The additional osx-x64 and osx-arm64 legs added for NativeAOT in https://github.com/dotnet/runtime/pull/89018 caused the `runtime.osx-*.Microsoft.DotNet.ILCompiler` and runtime.osx-*.runtime.native.System.IO.Ports` packages to be duplicated. This change makes sure we only publish them from one leg (the CoreCLR one). --- diff --git a/eng/pipelines/runtime-official.yml b/eng/pipelines/runtime-official.yml index 4b6f183..d89a0c3 100644 --- a/eng/pipelines/runtime-official.yml +++ b/eng/pipelines/runtime-official.yml @@ -117,7 +117,7 @@ extends: - linux_bionic_arm64 - linux_bionic_x64 jobParameters: - buildArgs: -s clr.nativeaotlibs+clr.nativeaotruntime+libs+packs -c $(_BuildConfig) /p:BuildNativeAOTRuntimePack=true + buildArgs: -s clr.nativeaotlibs+clr.nativeaotruntime+libs+packs -c $(_BuildConfig) /p:BuildNativeAOTRuntimePack=true /p:SkipLibrariesNativeRuntimePackages=true nameSuffix: AllSubsets_NativeAOT isOfficialBuild: ${{ variables.isOfficialBuild }} extraStepsTemplate: /eng/pipelines/common/upload-intermediate-artifacts-step.yml diff --git a/src/installer/pkg/projects/nativeaot-packages.proj b/src/installer/pkg/projects/nativeaot-packages.proj index b9ec2ee..aca5d44 100644 --- a/src/installer/pkg/projects/nativeaot-packages.proj +++ b/src/installer/pkg/projects/nativeaot-packages.proj @@ -1,9 +1,9 @@ - + - +