Skip to content

Refactor GitHub Actions workflows to streamline build and release processes#17

Merged
marko-stanojevic merged 10 commits intomainfrom
feat/gh_actions_update
Feb 17, 2026
Merged

Refactor GitHub Actions workflows to streamline build and release processes#17
marko-stanojevic merged 10 commits intomainfrom
feat/gh_actions_update

Conversation

@marko-stanojevic
Copy link
Contributor

This pull request refactors and streamlines the CI/CD workflow for building, packaging, and testing PowerShell modules. The main improvements include centralizing build logic into a reusable GitHub Action, enhancing artifact handling, and simplifying the workflow structure. These changes improve maintainability, modularity, and efficiency of the build and test pipeline.

Workflow and Build Process Refactoring:

  • Introduced a dedicated build job in .github/workflows/ci.yml that uses a custom composite action (.github/actions/ps-build) to encapsulate the module build, packaging, and artifact upload steps, replacing the previous inline build steps. [1] [2]
  • Updated the unit-tests and integration-tests jobs to depend on the new build job and to download all build artifacts using the latest version of actions/download-artifact, ensuring consistency and reducing duplication. [1] [2]

Composite Action Improvements (ps-build):

  • Added a .NET 8.0.x setup step and removed the unused module-list input from .github/actions/ps-build/action.yml, streamlining the action's configuration. [1] [2]
  • Modified the build step to use the computed build version and configurable release type, and added steps to create and upload NuGet packages and module binaries as artifacts.

Packaging Consistency:

  • Updated the release workflow (ps-release) to include a step for creating a NuGet package from build artifacts, aligning it with the new build process.

@marko-stanojevic marko-stanojevic merged commit 27cb549 into main Feb 17, 2026
@marko-stanojevic marko-stanojevic deleted the feat/gh_actions_update branch February 17, 2026 23:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant