Disable build dependencies install on Ubuntu 14.04 (trusty)

Fixes #26
This commit is contained in:
Nicolai Antiferov 2021-04-26 22:52:23 +03:00
parent ac073bbc8f
commit 41f4c45749

16
main.js
View file

@ -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", [