[0.74] Fix publish pipeline#15811
Merged
vmoroz merged 2 commits intomicrosoft:0.74-stablefrom Mar 19, 2026
Merged
Conversation
mganandraj
approved these changes
Mar 19, 2026
dannyvv
approved these changes
Mar 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Type of Change
Why
The publish pipeline on 0.74-stable was broken after backporting the 1ES Pipeline Template migration from main (PR #15802). The backport introduced several regressions because the main branch has a different build matrix (no Fabric/non-Fabric split, no Managed packages, no Desktop Test DLL) and different artifact naming conventions. These differences caused the pipeline to fail at multiple stages: code signing, artifact download, and NuGet packing.
What
Fixed the following issues in
.ado/publish.ymlintroduced by the backport:Code signing paths missing Fabric prefix — The
esrp-codesign-binaries.ymlstep used hardcodedDesktop/andReactWindows/paths regardless of Fabric builds. Fixed to useDesktopFabric/andReactWindowsFabric/whenUseFabric: true, matching the artifact publish paths.Desktop build solution and content filters narrowed — The backport switched from
ReactWindows-Desktop.slntoReactWindows-Desktop.Publish.slnf(which excludesReact.Windows.Desktop.Test.DLL) and narrowed content filters to only specific files. Restored the full.slnand broad\**content filters (React.Windows.Desktop\**,React.Windows.Desktop.DLL\**,React.Windows.Desktop.Test.DLL\**) needed byOfficeReact.Win32.nuspec.Universal build content filters too narrow — The backport changed
Microsoft.ReactNative\**toMicrosoft.ReactNative\Microsoft.ReactNative.*, which missed subdirectory files (e.g.,*.xbffiles required by the nuspec). Restored the broadMicrosoft.ReactNative\**filter. Also restoredMicrosoft.ReactNative.Managed\**which was dropped entirely.Missing Debug Fabric entries in
universalBuildMatrix— The backport removedX64DebugFabric,X86DebugFabric, andArm64DebugFabricentries, but theReactWindowsFabricNuGet pack still referenced Debug slices, causing artifact download failures. Restored the missing entries.Missing
DesktopFabricNuGet pack section — The backport removed the fourthprep-and-pack-nugetcall forDesktopFabric(OfficeReact.Win32with-Fabricversion suffix). Restored it.Broken web links in documentation — Fixed 5 broken URLs caught by the
unbrokenlink checker:packages/README.md— Removed hyperlink tonpmjs.com/org/rnw-scripts(npmjs returns HTTP 403 to automated checkers); replaced with inline code.docs/monorepo.md— Replaced deadlegacy.yarnpkg.comURL withclassic.yarnpkg.com.docs/managedCodeGen.md— Changed GitHub link fromblob/main/toblob/0.74-stable/forSampleLibraryCS.csproj(file no longer onmain).packages/@react-native-windows/codegen/Document.md— Changed GitHub link fromblob/main/toblob/0.74-stable/forNativeDialogManagerWindowsSpec.g.h.docs/react-native-windows-init.md— Replacednpmjs.com/package/mustache(HTTP 403) with the mustache.js GitHub repo URL.Screenshots
N/A — pipeline infrastructure changes only.
Testing
Verified by running the full Publish pipeline. All 33 build jobs (12 Desktop + 12 Desktop Fabric + 9 Universal) completed successfully, and the Pack NuGet job produced all expected packages including ReactWindows, ReactWindowsFabric, Desktop, and DesktopFabric variants.
Changelog
Should this change be included in the release notes: no
Internal pipeline fix only — no user-facing changes.
Microsoft Reviewers: Open in CodeFlow