Merge pull request #27 from nantiferov/fix-ubuntu-trusty

Disable build dependencies install on Ubuntu 14.04 (trusty)
This commit is contained in:
Dawid Dziurla 2021-04-27 07:47:04 +02:00 committed by GitHub
commit 58ba385a40
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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