Closed JVBotelho closed 11 months ago
hi @JVBotelho, thank you for the report. We will take a look at it :)
Hello @JVBotelho. Could you please attach link to the build or public repository to reproduce the issue ?
sure @dmitry-shibanov , the repo is this: https://github.com/JVBotelho/Glitched-Cat-API
We are having this same issue with attempting to use "actions/setup-dotnet" with version 4.8 or 4.8.1.
We are having this same issue with attempting to use "actions/setup-dotnet" with version 4.8 or 4.8.1.
Hi, @jesselve 👋 Sorry but setup-dotnet
doesn't support installing .NET Framework SDKs.
Hi, @JVBotelho, sorry for the late response. The root cause of you issue is in the global.json
file. Currently setup-dotnet
provides a simple logic for resolving version out of global.json
, namely it resolves the version from version
key and mutate it if rollForward
key is set to latestFeature
. If rollForward
key is set to any other option, the action doesn't mutate the version and supply it to the installer as is. As there is no exact version 7.0.0
of .NET available, the action failed. As a workaround I can suggest to change value in the rollForward
key to latestFeature
, or remove it completele and target some exact version of .NET SDK.
We are having this same issue with attempting to use "actions/setup-dotnet" with version 4.8 or 4.8.1.
Hi @jesselve , you could solve it? because im facing the same issue
Hello @Negroove,
did the workaround https://github.com/actions/setup-dotnet/issues/397#issuecomment-1538041973 help?
Hello @Negroove, I am closing the issue because of the workaround provided, feel free to reopen it or create a new one in case the problem still exists.
Description: Just configured it to use with CodeQL in my .net 7 project and seems that the links to download the sdk are someway broken
Task version: 3.0.3
Platform:
Runner type:
Repro steps:
configure into CodeQL Analyser as follow: `...
jobs: analyze: name: Analyze runs-on: windows-latest permissions: actions: read contents: read security-events: write
Expected behavior: download and install the sdk
Actual behavior: fail to install sdk