Skip to content

Creating build action to simplify workflows#11

Merged
casuffitsharp merged 3 commits intomainfrom
actiontemplate
Mar 1, 2026
Merged

Creating build action to simplify workflows#11
casuffitsharp merged 3 commits intomainfrom
actiontemplate

Conversation

@casuffitsharp
Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings March 1, 2026 02:37
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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-build to 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.

Comment thread .github/workflows/release.yml
Comment thread .github/workflows/ci.yml
Comment thread .github/workflows/pr-ci.yml
Comment thread .github/actions/dotnet-build/action.yml Outdated
Copilot AI review requested due to automatic review settings March 1, 2026 02:40
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread .github/actions/dotnet-build/action.yml Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings March 1, 2026 02:42
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@casuffitsharp casuffitsharp merged commit 4425002 into main Mar 1, 2026
5 checks passed
@casuffitsharp casuffitsharp deleted the actiontemplate branch March 1, 2026 02:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants