-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use .NET 8 SDK #68
Use .NET 8 SDK #68
Conversation
This pull request has been linked to Shortcut Story #65325: Upgrade minor libraries. |
@@ -11,7 +9,6 @@ | |||
using static Nuke.Common.Tools.DotNet.DotNetTasks; | |||
using Nuke.Common.Tools.OctoVersion; | |||
|
|||
[CheckBuildProjectConfigurations] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This has since been integrated into the SolutionAttribute
.
https://github.com/nuke-build/nuke/blob/4a24cd4e78d43b59deb8aa2033c696c8ceb51dd6/source/Nuke.Common/Execution/CheckBuildProjectConfigurationsAttribute.cs#L18-L21
@@ -26,20 +23,20 @@ class Build : NukeBuild | |||
[Parameter("Branch name for OctoVersion to use to calculate the version number. Can be set via the environment variable " + CiBranchNameEnvVariable + ".", Name = CiBranchNameEnvVariable)] | |||
readonly string OctoVersionBranch; | |||
|
|||
[Parameter] readonly int? OctoVersionFullSemVer; | |||
[Parameter] readonly string? OctoVersionFullSemVer; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one caught me by surprise. After upgrading, Nuke started to complain about this. Weird that it wasn't doing it before.
0d1f29c
to
8d52ebe
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this gets a green build, all looking good to me!
We should update the github actions references in a separate PR
Why? We'd need to upgrade it anyway to build the .NET 8 version of the project. |
[sc-65325]
Updates this project to use the .NET 8 SDK for compilation and testing.
The library itself is still published under
netstandard2.0
.