From 2533529156779aff1993379ac847ac6b0f92dc4e Mon Sep 17 00:00:00 2001 From: Vince Grassia <593223+vgrassia@users.noreply.github.com> Date: Thu, 21 Dec 2023 14:29:08 -0500 Subject: [PATCH] Testing --- download-artifacts/main.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/download-artifacts/main.js b/download-artifacts/main.js index 9d0ee6e7..4f1b48f5 100644 --- a/download-artifacts/main.js +++ b/download-artifacts/main.js @@ -190,7 +190,15 @@ async function main() { return artifactNames.map(name => matchesWithRegex(artifact.name, name)).reduce((prevValue, currValue) => prevValue || currValue) }) - core.info(`TESTING: ${artifactsToDownload}`) + core.info("BEGIN TEST OUTPUT") + for (const artifact of artifactsToDownload) { + core.info("==> Artifact ID:", artifact.id) + core.info("==> Artifact Name:", artifact.name) + const size = filesize(artifact.size_in_bytes, { base: 10 }) + core.info("==> Artifact Size:", artifact.size) + core.info("") + } + core.info("END TEST OUTPUT") // One artifact if 'name' input is specified, one or more if `name` is a regular expression, all otherwise. if (names) {