diff --git a/src/main.ts b/src/main.ts index e5aed143..0cb9e66a 100644 --- a/src/main.ts +++ b/src/main.ts @@ -78,6 +78,11 @@ async function run() { core.exportVariable('Qt5_Dir', qtPath); core.addPath(qtPath + "/bin"); + // If on windows automatically download and setup jom compiler + if (process.platform == "win32") { + await exec.exec("wget http://download.qt.io/official_releases/jom/jom.zip -OutFile jom.zip") + await exec.exec('expand-archive -path "jom.zip" -destinationpath "$Env:Qt5_Dir\bin"') + } } catch (error) { core.setFailed(error.message); }