mirror of
https://github.com/github/codeql-action.git
synced 2026-01-05 06:00:32 +08:00
More descriptive partial db bundle messages
This commit is contained in:
@@ -36,14 +36,14 @@ export async function uploadDatabaseBundleDebugArtifact(
|
||||
) {
|
||||
for (const language of config.languages) {
|
||||
if (!dbIsFinalized(config, language, logger)) {
|
||||
core.info(
|
||||
`${config.debugDatabaseName}-${language} is not finalized. Uploading partial database bundle...`
|
||||
);
|
||||
// Zip up files and upload directly.
|
||||
const databasePath = getCodeQLDatabasePath(config, language);
|
||||
const databaseBundlePath = path.resolve(
|
||||
config.dbLocation,
|
||||
`${config.debugDatabaseName}.zip`
|
||||
`${config.debugDatabaseName}-${language}-partial.zip`
|
||||
);
|
||||
core.info(
|
||||
`${config.debugDatabaseName}-${language} is not finalized. Uploading partial database bundle at ${databaseBundlePath}...`
|
||||
);
|
||||
// See `bundleDb` for explanation behind deleting existing db bundle.
|
||||
if (fs.existsSync(databaseBundlePath)) {
|
||||
|
||||
Reference in New Issue
Block a user