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:
parent
ef77c9d60b
commit
1f22f9faf9
4 changed files with 37 additions and 3 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue