Skip to content

The agent that grows with you

fix(release): let the win32-bundle candidate call assemble the universal bundle

ethernet8c34d2ecc5f0
diff --git a/.github/workflows/desktop-bundled-release.yml b/.github/workflows/desktop-bundled-release.yml
index 3a107bcbe11..6fcb0691dd5 100644
--- a/.github/workflows/desktop-bundled-release.yml
+++ b/.github/workflows/desktop-bundled-release.yml
@@ -1461,14 +1461,18 @@ jobs:
disposable-run: ${{ needs.validate.outputs.disposable-run }}
# Assembly never writes a feed, including for canaries.
+ # A build leg selected in this same call must succeed. One that is not
+ # selected (stable's `jobs: win32-bundle` call runs after the per-arch
+ # candidate calls) is skipped here, and its signed .msix is fetched from the
+ # R2 handoff instead; the caller's `needs` already guarantees it was staged.
assemble-win32-bundle:
name: Assemble and stage the Windows universal bundle
needs: [validate, build-win32-x64, build-win32-arm64]
if: >-
!cancelled() && needs.validate.result == 'success' && needs.validate.outputs.sha != ''
- && needs.validate.outputs.win32-x64 == 'true' && needs.validate.outputs.win32-arm64 == 'true'
&& needs.validate.outputs.win32-bundle == 'true'
- && needs.build-win32-x64.result == 'success' && needs.build-win32-arm64.result == 'success'
+ && (needs.validate.outputs.win32-x64 != 'true' || needs.build-win32-x64.result == 'success')
+ && (needs.validate.outputs.win32-arm64 != 'true' || needs.build-win32-arm64.result == 'success')
&& (inputs.release-phase == '' || inputs.release-phase == 'candidate')
&& (inputs.upload_release == true || inputs.release-phase == 'candidate' || inputs.build_commit != '' || inputs.channel != '')
runs-on: windows-latest-32-core