From 6d9b83db9c734505a23fb27209224b7987613006 Mon Sep 17 00:00:00 2001 From: Benjamin O Date: Fri, 6 Dec 2019 20:41:53 -0500 Subject: [PATCH] build v2.2.0 --- lib/main.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/main.js b/lib/main.js index 37e444dc..095e4993 100644 --- a/lib/main.js +++ b/lib/main.js @@ -32,12 +32,13 @@ function run() { yield exec.exec("sudo apt-get install build-essential libgl1-mesa-dev -y"); } yield exec.exec("pip3 install setuptools wheel"); - yield exec.exec("pip3 install \"aqtinstall==0.5.*\""); + yield exec.exec("pip3 install \"aqtinstall==0.6.*\""); const dir = (core.getInput("dir") || process.env.RUNNER_WORKSPACE) + "/Qt"; const version = core.getInput("version"); let host = core.getInput("host"); let target = core.getInput("target"); let arch = core.getInput("arch"); + let modules = core.getInput("modules"); //set host automatically if omitted if (!host) { switch (process.platform) { @@ -69,6 +70,9 @@ function run() { if (arch) { args.push(`${arch}`); } + if (modules) { + args.push(`-m ${modules}`); + } //accomodate for differences in python 3 executable name let pythonName = "python3"; if (process.platform == "win32") {