codeql-action icon indicating copy to clipboard operation
codeql-action copied to clipboard

CodeQL database as action artifact

Open JLLeitschuh opened this issue 4 years ago • 1 comments

For a JVM build, where does the CodeQL database end up on the filesystem? In particular, I'm looking to make the database an artifact so I can run custom queries against it locally.

JLLeitschuh avatar Oct 10 '20 00:10 JLLeitschuh

I'm afraid uploading the CodeQL database is a bit tricky right now. The location it's uploaded to is an implementation detail, though we do plan to add a way for users to specify the database location so you can use it afterwards. However there are other issues as the databases are quite large and require some cleaning up before they can be reliably uploaded. Best to just wait and we'll improve it soon. For now I'd recommend trying to use the CodeQL CLI locally to build your project and get a database.

robertbrignull avatar Oct 12 '20 10:10 robertbrignull