Compare commits

..

No commits in common. "ab87a41078602591316d2dba58f5ad1ad77ef98e" and "c7f4c07ff6586bdc12752bb73a45203bfe25efad" have entirely different histories.

11
main.js
View file

@ -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()
}