You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🌟 [Major]: Standalone Module Builder with isolation (#108)
## Description
This PR refactors **Build-PSModule** into a standalone, reusable action
focused solely on building and packaging PowerShell modules. It
simplifies inputs/outputs, improves script reliability, and removes
deprecated logic. This aligns with recent changes in
**Process-PSModule** (see [PR
#150](PSModule/Process-PSModule#150)) that shift
orchestration responsibilities out of Build-PSModule.
## Why
Previously, Build-PSModule handled some orchestration logic (e.g.,
naming, path assumptions), tightly coupling it to specific CI setups.
This update makes it a pure builder, allowing workflows like
Process-PSModule to fully own orchestration and testing.
## Key Changes
- New inputs:
- `ArtifactName` (custom name for upload)
- `WorkingDirectory` (controls source/build path)
- New output:
- `moduleOutputFolderPath` (used for artifact upload and downstream
steps)
- Upload step: Now dynamically uses the output path instead of hardcoded
ones.
- Improved helper scripts:
- Better error handling
- Simpler, more robust logic
- Removed legacy scripts and inputs
## Impact
- Workflows now get a clean contract: provide source path → get built
module path.
- Build-PSModule no longer makes assumptions about structure or
downstream steps.
- Enables more modular, flexible workflows (like the new
Process-PSModule pipeline).
---
Let me know if you'd like an even more minimal or changelog-style
version!
## Type of change
<!-- Use the check-boxes [x] on the options that are relevant. -->
- [ ] 📖 [Docs]
- [ ] 🪲 [Fix]
- [ ] 🩹 [Patch]
- [ ] ⚠️ [Security fix]
- [ ] 🚀 [Feature]
- [x] 🌟 [Breaking change]
## Checklist
<!-- Use the check-boxes [x] on the options that are relevant. -->
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
0 commit comments