mirror of
https://github.com/github/codeql-action.git
synced 2026-01-04 21:50:17 +08:00
Do not require debug mode for debugging uploads
This commit is contained in:
@@ -14,13 +14,10 @@ export async function run(
|
||||
) {
|
||||
const tempDir = actionsUtil.getTemporaryDirectory();
|
||||
|
||||
// Upload Actions SARIF artifacts for debugging
|
||||
if (
|
||||
core.isDebug() &&
|
||||
process.env["CODEQL_ACTION_DEBUG_COMBINED_SARIF"] === "true"
|
||||
) {
|
||||
// Upload Actions SARIF artifacts for debugging when environment variable is set
|
||||
if (process.env["CODEQL_ACTION_DEBUG_COMBINED_SARIF"] === "true") {
|
||||
core.info(
|
||||
"Debug mode is on. Uploading available combined SARIF files as Actions debugging artifact...",
|
||||
"Uploading available combined SARIF files as Actions debugging artifact...",
|
||||
);
|
||||
|
||||
const baseTempDir = path.resolve(tempDir, "combined-sarif");
|
||||
|
||||
Reference in New Issue
Block a user