Compare commits
No commits in common. "ab87a41078602591316d2dba58f5ad1ad77ef98e" and "c7f4c07ff6586bdc12752bb73a45203bfe25efad" have entirely different histories.
ab87a41078
...
c7f4c07ff6
11
main.js
11
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()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue