Skip to content

ci: Update GitHub Actions workflow for .NET 10 and multi-targeting#5

Merged
arafattehsin merged 1 commit intomainfrom
feature/enhanced-sentiment-analysis
Jan 21, 2026
Merged

ci: Update GitHub Actions workflow for .NET 10 and multi-targeting#5
arafattehsin merged 1 commit intomainfrom
feature/enhanced-sentiment-analysis

Conversation

@arafattehsin
Copy link
Copy Markdown
Owner

Summary

Updates the NuGet deployment workflow to support the new multi-targeting setup.

Changes

  • ⬆️ Upgrade dotnet-version from 3.1.x to 10.0.x
  • ⬆️ Update actions/checkout from v2 to v4
  • ⬆️ Update actions/setup-dotnet from v1 to v4
  • 🚀 Switch to ubuntu-latest for faster builds
  • 🔧 Fix path separators for cross-platform compatibility (\/)

Why

The project now multi-targets netstandard2.0, net8.0, and net10.0, which requires .NET 10 SDK to build all targets.

Testing

  • Workflow runs successfully on merge
  • NuGet package is published with all three target frameworks

- Upgrade dotnet-version from 3.1.x to 10.0.x
- Update actions/checkout from v2 to v4
- Update actions/setup-dotnet from v1 to v4
- Switch to ubuntu-latest for faster builds
- Fix path separators for cross-platform compatibility
Copilot AI review requested due to automatic review settings January 21, 2026 14:08
@arafattehsin arafattehsin merged commit 5d2e593 into main Jan 21, 2026
5 checks passed
Copy link
Copy Markdown

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 updates the GitHub Actions workflow to support the project's new multi-targeting setup for .NET Standard 2.0, .NET 8, and .NET 10. The changes modernize the CI/CD pipeline by upgrading dependencies and improving cross-platform compatibility.

Changes:

  • Upgraded .NET SDK from 3.1.x to 10.0.x to support building all target frameworks including net10.0
  • Updated GitHub Actions to latest versions (checkout v4, setup-dotnet v4)
  • Migrated from Windows to Ubuntu runner with corresponding path separator fixes

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants