Merge pull request #27 from nantiferov/fix-ubuntu-trusty
Disable build dependencies install on Ubuntu 14.04 (trusty)
This commit is contained in:
commit
58ba385a40
16
main.js
16
main.js
|
@ -133,13 +133,15 @@ async function main() {
|
||||||
])
|
])
|
||||||
core.endGroup()
|
core.endGroup()
|
||||||
|
|
||||||
core.startGroup("Install build dependencies")
|
if (imageTag != "trusty") {
|
||||||
await exec.exec("docker", [
|
core.startGroup("Install build dependencies")
|
||||||
"exec",
|
await exec.exec("docker", [
|
||||||
container,
|
"exec",
|
||||||
"apt-get", "build-dep", "-yq", "-t", imageTag, sourceDirectory
|
container,
|
||||||
])
|
"apt-get", "build-dep", "-yq", "-t", imageTag, sourceDirectory
|
||||||
core.endGroup()
|
])
|
||||||
|
core.endGroup()
|
||||||
|
}
|
||||||
|
|
||||||
core.startGroup("Build packages")
|
core.startGroup("Build packages")
|
||||||
await exec.exec("docker", [
|
await exec.exec("docker", [
|
||||||
|
|
Loading…
Reference in a new issue