codeql-action
codeql-action copied to clipboard
CodeQL database as action artifact
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.
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.