1
0
Fork 0
mirror of https://github.com/actions/toolkit synced 2025-05-10 09:03:02 +00:00

adding debug for mac upload testing

This commit is contained in:
Vallie Joseph 2024-03-15 14:53:33 +00:00
parent ef77c9d60b
commit 1f22f9faf9
4 changed files with 37 additions and 3 deletions

View file

@ -1,3 +1,4 @@
import whyIsNodeRunning from 'why-is-node-running'
import * as core from '@actions/core'
import {
UploadArtifactOptions,
@ -107,6 +108,13 @@ export async function uploadArtifact(
core.info(
`Artifact ${name}.zip successfully finalized. Artifact ID ${artifactId}`
)
if (core.isDebug()) {
setTimeout(function () {
core.debug('Processes keeping upload stream running:')
whyIsNodeRunning()
}, 500)
}
//
return {
size: uploadResult.uploadSize,