Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: PSModule/Build-PSModule
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3
Choose a base ref
...
head repository: PSModule/Build-PSModule
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v4.0.0
Choose a head ref
  • 1 commit
  • 65 files changed
  • 1 contributor

Commits on Apr 17, 2025

  1. 🌟 [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
    MariusStorhaug authored Apr 17, 2025
    Configuration menu
    Copy the full SHA
    8cccec4 View commit details
    Browse the repository at this point in the history
Loading