forked from waja/action-debian-package
parent
ac073bbc8f
commit
41f4c45749
16
main.js
16
main.js
|
@ -133,13 +133,15 @@ async function main() {
|
|||
])
|
||||
core.endGroup()
|
||||
|
||||
core.startGroup("Install build dependencies")
|
||||
await exec.exec("docker", [
|
||||
"exec",
|
||||
container,
|
||||
"apt-get", "build-dep", "-yq", "-t", imageTag, sourceDirectory
|
||||
])
|
||||
core.endGroup()
|
||||
if (imageTag != "trusty") {
|
||||
core.startGroup("Install build dependencies")
|
||||
await exec.exec("docker", [
|
||||
"exec",
|
||||
container,
|
||||
"apt-get", "build-dep", "-yq", "-t", imageTag, sourceDirectory
|
||||
])
|
||||
core.endGroup()
|
||||
}
|
||||
|
||||
core.startGroup("Build packages")
|
||||
await exec.exec("docker", [
|
||||
|
|
Loading…
Reference in a new issue