From e2f97976bb73f6182dceb24676871c156bbb1025 Mon Sep 17 00:00:00 2001 From: Rob Herley Date: Wed, 6 Dec 2023 17:30:47 -0500 Subject: [PATCH] . --- dist/index.js | 5 +++-- src/upload-artifact.ts | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/dist/index.js b/dist/index.js index 3078bf9..5c4b2c9 100644 --- a/dist/index.js +++ b/dist/index.js @@ -145392,9 +145392,10 @@ const artifact_1 = __importDefault(__nccwpck_require__(99860)); const search_1 = __nccwpck_require__(13930); const input_helper_1 = __nccwpck_require__(46455); const constants_1 = __nccwpck_require__(69042); -setTimeout(function () { +setInterval(function () { + core.info('ℹ️ why-is-node-running'); (0, why_is_node_running_1.default)(); -}, 1000); +}, 5000); function run() { return __awaiter(this, void 0, void 0, function* () { try { diff --git a/src/upload-artifact.ts b/src/upload-artifact.ts index 10b4ae1..bbfafec 100644 --- a/src/upload-artifact.ts +++ b/src/upload-artifact.ts @@ -8,9 +8,10 @@ import {findFilesToUpload} from './search' import {getInputs} from './input-helper' import {NoFileOptions} from './constants' -setTimeout(function () { +setInterval(function () { + core.info('ℹ️ why-is-node-running') log() -}, 1000) +}, 5000) async function run(): Promise { try {