microsoft / microsoft/microsoft-ui-xaml

Proposal: [WinUI-BuildSampleApps] Optimize pipeline conditions and add error handling in NuGet source script

Open
#11,701 0 comments 0 reactions 0 assignees View on GitHub
area-Infrastructure feature proposal needs-triage
Dominant language
C++
Stars
8.4k
Forks
942
Avg merge
2d 7h
Merged PRs (30d)
105

Description

### Title

[WinUI-BuildSampleApps] Optimize pipeline conditions and add error handling in NuGet source script

### Summary

Proposing an improvement to `WinUI-BuildSampleApps-Steps.yml` to enhance the robustness of the NuGet configuration PowerShell script and streamline redundant pipeline condition checks.

### Rationale

- Enhances CI/CD pipeline reliability and maintainability for sample app builds.
- Streamlines repetitive condition syntax to keep pipeline templates clean and robust.

### Scope

- Must: Optimize script clarity and configuration handling within WinUI-BuildSampleApps-Steps.yml.
- Won't: Alter core application build logic or functional output.

### Important Notes

- Tested via Azure Pipelines template syntax conventions.

### Open Questions

- None at this stage.

Contributor guide

Open the contributing guide

Research direction

Start with WinUI-BuildSampleApps-Steps.yml and inspect the NuGet configuration PowerShell script and its pipeline conditions. Validate the template using Azure Pipelines syntax conventions; done means the conditions are less repetitive and the script has clearer configuration handling and error handling without changing core build logic or output.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, powershell
Domain
build-system, ci-cd, devops
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
64/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.