mirror of
https://code.forgejo.org/forgejo/upload-artifact.git
synced 2024-11-22 08:22:40 +00:00
.
This commit is contained in:
parent
e2f97976bb
commit
40c8ff5a04
1 changed files with 12 additions and 5 deletions
|
@ -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<void> {
|
||||
try {
|
||||
const inputs = getInputs()
|
||||
|
@ -69,6 +64,18 @@ async function run(): Promise<void> {
|
|||
}
|
||||
} 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)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue