Closed jacob-winkler closed 1 year ago
Hi, @jacob-winkler 👋 Thanks for the issue! The thing is that in the dotnet-version
input you specified runtime
but not sdk
version. Our action installs .NET SDK + runtime based on the specified .NET SDK version. The latest version of 6.0 .NET SDK currently is 6.0.404 - try to use it instead of 6.0.12 😉
I'm going to close this issue now, if you have any additional questions feel free to ping us.
Knew it was me 😅 I appreciate the help!
Description: dotnet-install is having trouble finding the .NET Core SDK at the primary link.
I'm running the starter workflow as an action in my github repository. Thinking I must be doing something wrong, but the error seems to indicate the target file is just missing.
Task version: Not sure about this. Is
actions/setup-dotnet@v3
what you're looking for?Platform:
Runner type:
Repro steps:
Create a new repository for a C# project Add an action using the starter workflow here https://github.com/actions/starter-workflows/blob/main/ci/dotnet.yml Add the workflow as a required status Create a new PR
Expected behavior: I was expecting the workflow to try and build my project.
Actual behavior: The dotnet SDK is not installing and the task errors out before building my project.