From 9e9bd6b2573d456b34029c66b1e189a768c942dd Mon Sep 17 00:00:00 2001 From: Mike Roberts <2947595+m-roberts@users.noreply.github.com> Date: Wed, 28 Oct 2020 23:15:39 +0000 Subject: [PATCH] On a whim --- main.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/main.js b/main.js index 00386e1..9cc041e 100644 --- a/main.js +++ b/main.js @@ -154,11 +154,11 @@ async function main() { ] // Used by pybuild - for (i in targetArchitectures) { - devPackages.concat("libpython3.7-minimal:" + targetArchitectures[i]) - } + const libPythonPackages = targetArchitectures.map(targetArchitecture => { + return "libpython3.7-minimal:" + targetArchitecture + }) - return devPackages + return devPackages.concat(libPythonPackages) } core.startGroup("Install development packages") await exec.exec("docker", ["exec", container].concat(