1
0
Fork 0
mirror of https://gitea.com/actions/upload-artifact.git synced 2024-08-16 09:49:51 +02:00
This commit is contained in:
Rob Herley 2023-12-06 17:34:03 -05:00
parent e2f97976bb
commit 40c8ff5a04
No known key found for this signature in database
GPG key ID: D1602042C3543B06

View file

@ -8,11 +8,6 @@ import {findFilesToUpload} from './search'
import {getInputs} from './input-helper' import {getInputs} from './input-helper'
import {NoFileOptions} from './constants' import {NoFileOptions} from './constants'
setInterval(function () {
core.info(' why-is-node-running')
log()
}, 5000)
async function run(): Promise<void> { async function run(): Promise<void> {
try { try {
const inputs = getInputs() const inputs = getInputs()
@ -69,6 +64,18 @@ async function run(): Promise<void> {
} }
} catch (error) { } catch (error) {
core.setFailed((error as Error).message) 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)
} }
} }