如何解决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 举报,一经查实,本站将立刻删除。