Compare commits

..

1 commit

Author SHA1 Message Date
Jan Wagner 75594905c0 Going wild 2024-01-06 21:57:04 +01:00

17
main.js
View file

@ -99,6 +99,15 @@ async function main() {
await exec.exec("ls", ["-la", sourceDirectory]) await exec.exec("ls", ["-la", sourceDirectory])
core.endGroup() 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") { if (cpuArchitecture != "amd64") {
core.startGroup("Install QEMU") core.startGroup("Install QEMU")
// Need newer QEMU to avoid errors // Need newer QEMU to avoid errors
@ -139,6 +148,14 @@ async function main() {
]) ])
core.endGroup() core.endGroup()
core.startGroup("Check test files")
await exec.exec("docker", [
"exec",
container,
"ls", "-la", workspaceDirectory + "/foo"
])
core.endGroup()
core.startGroup("Check sourceDirectory") core.startGroup("Check sourceDirectory")
await exec.exec("docker", [ await exec.exec("docker", [
"exec", "exec",