diff --git a/main.js b/main.js index 263930a..4a8cdf1 100644 --- a/main.js +++ b/main.js @@ -99,6 +99,15 @@ async function main() { await exec.exec("ls", ["-la", sourceDirectory]) core.endGroup() + core.startGroup("Create test files") + await exec.exec("mkdir", ["-p", workspaceDirectory + "/foo"]) + await exec.exec("touch", [ workspaceDirectory + "/foo/bar.txt"]) + core.endGroup() + + core.startGroup("Check test files") + await exec.exec("ls", ["-la", workspaceDirectory + "/foo"]) + core.endGroup() + if (cpuArchitecture != "amd64") { core.startGroup("Install QEMU") // Need newer QEMU to avoid errors @@ -139,6 +148,14 @@ async function main() { ]) core.endGroup() + core.startGroup("Check test files") + await exec.exec("docker", [ + "exec", + container, + "ls", "-la", workspaceDirectory + "/foo" + ]) + core.endGroup() + core.startGroup("Check sourceDirectory") await exec.exec("docker", [ "exec",