Closed Wndrr closed 3 years ago
I just re-ran a previous test that was already working with a preview version of .NET 5 (Preview 7) and the test still worked, so I imagine it should work just fine for the release version of .NET 5. Are you prepping your workflow build environment with the appropriate version of .NET SDK? For example, using the setup-dotnet
action, you can specify the target version of the SDK you want to install.
Just confirmed, until next month, the stock ubuntu-latest
image includes up to .NET SDK 3.1 by default, so you need to bump it up yourself. It's pby best to always use setup-dotnet
to prep your environment regardless so you are not dependent on what may or may not be the default environment's state.
I'm going to close this for now, but reopen if you think there's something more that I can do.
Indeed ! I didn't know about setup-dotnet
.
Thank you for your quick response, it's working as expected now :-)
It seems that the highest .NET runtime currently supported is .netcore3.1 How should I go about using this workflow action for a .NET 5 project ? Is there planned support for .NET 5 ?
Here is the console error:
And the workflow file