forked from waja/action-debian-package
Compare commits
1 commit
7bef946a4e
...
75594905c0
Author | SHA1 | Date | |
---|---|---|---|
|
75594905c0 |
17
main.js
17
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",
|
||||
|
|
Loading…
Reference in a new issue