GitHub操作在我的C#项目的“执行CodeQL分析”中失败

问题描述

我在日志中得到了

C:\hostedtoolcache\windows\CodeQL\0.0.0-20200630\x64\codeql\codeql.exe database finalize D:\a\_temp\codeql_databases\csharp
  No source code was seen during the build.
  This can occur if the specified build commands failed to compile or process any code.
   - Confirm that there is some source code for the specified language in the project.
   - For codebases written in Go,JavaScript,TypeScript,and Python,do not specify 
     an explicit --command.
   - For other languages,the --command must specify a "clean" build which compiles 
     all the source code files without reusing existing build artefacts.
  ##[error]The process 'C:\hostedtoolcache\windows\CodeQL\0.0.0-20200630\x64\codeql\codeql.exe' failed with exit code 32
  Error: The process 'C:\hostedtoolcache\windows\CodeQL\0.0.0-20200630\x64\codeql\codeql.exe' failed with exit code 32
      at ExecState._setResult (D:\a\_actions\github\codeql-action\v1\node_modules\@actions\exec\lib\toolrunner.js:548:25)
      at ExecState.CheckComplete (D:\a\_actions\github\codeql-action\v1\node_modules\@actions\exec\lib\toolrunner.js:531:18)
      at ChildProcess.<anonymous> (D:\a\_actions\github\codeql-action\v1\node_modules\@actions\exec\lib\toolrunner.js:431:27)
      at ChildProcess.emit (events.js:210:5)
      at maybeClose (internal/child_process.js:1021:16)
      at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)

...

##[error]The process 'C:\hostedtoolcache\windows\CodeQL\0.0.0-20200630\x64\codeql\codeql.exe' failed with exit code 32

所以我看到我需要指定一个“干净”的版本,但是我该怎么做呢?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...