buildDotnetModule: change default dotnet SDK and runtime to version 6

dotnet 5 is now EOL.
This commit is contained in:
Ivar Scholten 2022-05-16 21:07:52 +02:00
parent 72cb3780a5
commit 6107bbf553

View file

@ -56,9 +56,9 @@
# The type of build to perform. This is passed to `dotnet` with the `--configuration` flag. Possible values are `Release`, `Debug`, etc. # The type of build to perform. This is passed to `dotnet` with the `--configuration` flag. Possible values are `Release`, `Debug`, etc.
, buildType ? "Release" , buildType ? "Release"
# The dotnet SDK to use. # The dotnet SDK to use.
, dotnet-sdk ? dotnetCorePackages.sdk_5_0 , dotnet-sdk ? dotnetCorePackages.sdk_6_0
# The dotnet runtime to use. # The dotnet runtime to use.
, dotnet-runtime ? dotnetCorePackages.runtime_5_0 , dotnet-runtime ? dotnetCorePackages.runtime_6_0
# The dotnet SDK to run tests against. This can differentiate from the SDK compiled against. # The dotnet SDK to run tests against. This can differentiate from the SDK compiled against.
, dotnet-test-sdk ? dotnet-sdk , dotnet-test-sdk ? dotnet-sdk
, ... } @ args: , ... } @ args: