Creating build action to simplify workflows#11
Conversation
There was a problem hiding this comment.
Pull request overview
This PR introduces a reusable composite GitHub Action to centralize the .NET checkout/setup/restore/build steps, and updates existing CI/release workflows to call that action instead of duplicating build logic.
Changes:
- Added a composite action at
.github/actions/dotnet-buildto perform checkout, setup-dotnet, restore, and build. - Updated CI, PR validation, and release workflows to use the composite build action.
- Reduced duplication across workflow files by replacing inline build steps with a single
uses:call.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| .github/workflows/release.yml | Replaces inline checkout/setup/restore/build with a call to the new composite action. |
| .github/workflows/pr-ci.yml | Replaces inline build steps with a call to the new composite action. |
| .github/workflows/ci.yml | Replaces inline build steps with a call to the new composite action before publishing artifacts. |
| .github/actions/dotnet-build/action.yml | New composite action implementing checkout + .NET setup + restore + build. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
4f9c301 to
29ec385
Compare
29ec385 to
f07cced
Compare
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 4 out of 4 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
No description provided.