Actually build the js

This commit is contained in:
Timothy Clem
2019-09-30 11:29:33 -07:00
parent a803c8eafa
commit 895038cb9e
3 changed files with 26 additions and 42 deletions

View File

@@ -30,12 +30,12 @@ function run() {
if (!ghcVersion) {
ghcVersion = defaultGHCVersion;
}
yield installer_1.findHaskellGHCVersion(baseInstallDir, ghcVersion);
installer_1.findHaskellGHCVersion(baseInstallDir, ghcVersion);
let cabalVersion = core.getInput('cabal-version');
if (!cabalVersion) {
cabalVersion = defaultCabalVersion;
}
yield installer_1.findHaskellCabalVersion(baseInstallDir, cabalVersion);
installer_1.findHaskellCabalVersion(baseInstallDir, cabalVersion);
}
catch (error) {
core.setFailed(error.message);