Merged PR 37921: Remove the condition duplication in YAML for MSIX create

Remove the condition duplication in YAML for MSIX create

----
#### AI description  (iteration 1)
#### PR Classification
This pull request is a code cleanup that removes redundant condition logic from the MSIX creation pipeline configuration.

#### PR Summary
The changes streamline the YAML configuration to eliminate duplicated conditional checks, enhancing clarity in the pipeline setup.
- `/.pipelines/templates/package-create-msix.yml`: Removed the duplicate `condition: failed()` line from the job configuration.
- `/.pipelines/templates/package-create-msix.yml`: Applied a minor cosmetic adjustment to the `displayName` entry.
<!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->
This commit is contained in:
Aditya Patwardhan
2025-12-11 14:56:43 -08:00
parent 826a2d0801
commit af5e54202b
+1 -2
View File
@@ -261,7 +261,6 @@ jobs:
outSBName: 'PowerShellStorePackage'
pdpPath: '$(System.DefaultWorkingDirectory)/PowerShell/.pipelines/store/PDP/PDP'
pdpMediaPath: '$(System.DefaultWorkingDirectory)/PowerShell/.pipelines/store/PDP/PDP-Media'
condition: failed()
- pwsh: |
$submissionPackageDir = "$(System.DefaultWorkingDirectory)/SBOutDir"
@@ -279,4 +278,4 @@ jobs:
else {
Write-Error "Required files not found in $submissionPackageDir"
}
displayName: 'Upload StoreBroker Package'
displayName: 'Upload StoreBroker Package'