From 41f4c45749786cedcb1886f72ce7a66912ed5372 Mon Sep 17 00:00:00 2001 From: Nicolai Antiferov Date: Mon, 26 Apr 2021 22:52:23 +0300 Subject: [PATCH] Disable build dependencies install on Ubuntu 14.04 (trusty) Fixes #26 --- main.js | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/main.js b/main.js index ac33b89..d4f9cb7 100644 --- a/main.js +++ b/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", [