Allow builds for all targets

This commit is contained in:
Webber
2019-12-22 18:07:55 +01:00
committed by Webber Takken
parent 2ab738c083
commit bafc8e806b
11 changed files with 160 additions and 202 deletions

View File

@@ -3,20 +3,20 @@ const core = require('@actions/core');
export default class Input {
static getFromUser() {
// Input variables specified in workflows using "with" prop.
const unityVersion = core.getInput('unityVersion');
const targetPlatform = core.getInput('targetPlatform');
const version = core.getInput('unityVersion');
const platform = core.getInput('targetPlatform');
const projectPath = core.getInput('projectPath');
const buildName = core.getInput('buildName');
const buildsPath = core.getInput('buildsPath');
const buildMethod = core.getInput('buildMethod');
return {
unityVersion,
targetPlatform,
version,
platform,
projectPath,
buildName,
buildsPath,
buildMethod,
method: buildMethod,
};
}
}