From 305eb467978c438ae78091a56fd18f2b9f625a2e Mon Sep 17 00:00:00 2001 From: Jan Wagner Date: Sat, 6 Jan 2024 15:33:04 +0100 Subject: [PATCH] Adding some debugging output --- main.js | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/main.js b/main.js index 148781a..2e4be68 100644 --- a/main.js +++ b/main.js @@ -95,6 +95,10 @@ async function main() { console.log(details) core.endGroup() + core.startGroup("Check sourceDirectory") + await exec.exec("ls", ["-la", sourceDirectory]) + core.endGroup() + if (cpuArchitecture != "amd64") { core.startGroup("Install QEMU") // Need newer QEMU to avoid errors @@ -127,6 +131,13 @@ async function main() { ]) core.endGroup() + core.startGroup("Show container ispect") + await exec.exec("docker", [ + "inspect", + container + ]) + core.endGroup() + core.startGroup("Prepare environment") await exec.exec("docker", [ "exec", @@ -183,6 +194,14 @@ async function main() { ]) core.endGroup() + core.startGroup("Check sourceDirectory") + await exec.exec("docker", [ + "exec", + container, + "ls", "-la", sourceDirectory + ]) + core.endGroup() + if (imageTag != "trusty") { core.startGroup("Install build dependencies") await exec.exec("docker", [