diff --git a/main.js b/main.js index 5b4ee02..148781a 100644 --- a/main.js +++ b/main.js @@ -183,22 +183,13 @@ 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", [ "exec", container, "bash", "-c", -# `apt-get build-dep -yq -t '${imageTag}' '${sourceDirectory}' || apt-get build-dep -yq '${sourceDirectory}'` - `cd '${sourceDirectory}' && apt-get build-dep -yq -t '${imageTag}' . || apt-get build-dep -yq .` + `apt-get build-dep -yq -t '${imageTag}' '${sourceDirectory}' || apt-get build-dep -yq '${sourceDirectory}'` ]) core.endGroup() }