mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
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:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user