Compare commits
2 commits
c7f4c07ff6
...
ab87a41078
Author | SHA1 | Date | |
---|---|---|---|
Jan Wagner | ab87a41078 | ||
Jan Wagner | 0be35bacbe |
11
main.js
11
main.js
|
@ -183,13 +183,22 @@ 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}'`
|
||||
# `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 .`
|
||||
])
|
||||
core.endGroup()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue