Skip to main content

编译的语言的自动生成失败

如果自动生成失败,可以将 code scanning 配置为使用编译的语言的特定生成步骤。

Note: This article describes the features available with the version of the CodeQL action and associated CodeQL CLI bundle included in the initial release of this version of GitHub Enterprise Server. If your enterprise uses a more recent version of the CodeQL action, see the GitHub Enterprise Cloud version of this article for information on the latest features. For information on using the latest version, see "Configuring code scanning for your appliance."

If an automatic build of code for a compiled language within your project fails, you can try changing to the manual build mode or removing the autobuild step from your code scanning workflow and adding specific build steps. If you're not already using advanced setup, you'll need to enable it first to create a workflow you can edit.

Further reading