-
Notifications
You must be signed in to change notification settings - Fork 409
Open
Description
Running github/codeql-action/analyze on macos with dotnet 8, dotnet9 and dotnet 10 installed is failing to detect the build.
Same configuration is working on windows.
Same configuration worked before dotnet 10-rc2 was released (rc1 was working fine).
Error:
Encountered a fatal error while running "/Users/runner/hostedtoolcache/CodeQL/2.23.2/arm64/codeql/codeql database finalize --finalize-dataset --threads=3 --ram=6144 /Users/runner/work/_temp/codeql_databases/csharp". Exit code was 32 and last log line was: CodeQL detected code written in C# but this run didn't build any of it, or CodeQL could not process any of it. Ensure that you have provided manual build steps (see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages#about-specifying-build-steps-manually) for C# between the 'init' and 'analyze' Actions, and check the workflow run logs (see https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/using-workflow-run-logs). For more information, review our troubleshooting guide at https://gh.io/troubleshooting-code-scanning/no-source-code-seen-during-build . See the logs for more details.
Example of run: https://github.com/sandrohanea/whisper.net/actions/runs/18525877235/job/52796706902
Any idea what can cause this?
Thank you!
JaneySprings and gimlichael
Metadata
Metadata
Assignees
Labels
No labels