From 40c8ff5a04ed571a2710bc67c4332dfd47592918 Mon Sep 17 00:00:00 2001 From: Rob Herley Date: Wed, 6 Dec 2023 17:34:03 -0500 Subject: [PATCH] . --- src/upload-artifact.ts | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/src/upload-artifact.ts b/src/upload-artifact.ts index bbfafec..d0aa260 100644 --- a/src/upload-artifact.ts +++ b/src/upload-artifact.ts @@ -8,11 +8,6 @@ import {findFilesToUpload} from './search' import {getInputs} from './input-helper' import {NoFileOptions} from './constants' -setInterval(function () { - core.info('ℹ️ why-is-node-running') - log() -}, 5000) - async function run(): Promise { try { const inputs = getInputs() @@ -69,6 +64,18 @@ async function run(): Promise { } } catch (error) { core.setFailed((error as Error).message) + setTimeout(function () { + core.notice('ℹ️ why-is-node-running') + log() + }, 100) + setTimeout(function () { + core.notice('ℹ️ why-is-node-running') + log() + }, 10000) + setTimeout(function () { + core.notice('ℹ️ why-is-node-running') + log() + }, 30000) } }