Adding some debugging output

This commit is contained in:
Jan Wagner 2024-01-06 15:33:04 +01:00
parent c7f4c07ff6
commit 305eb46797

19
main.js
View file

@ -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", [