Minor cleanup
This commit is contained in:
@@ -1,8 +1,4 @@
|
||||
import Action from './model/action';
|
||||
import Docker from './model/docker';
|
||||
import ImageTag from './model/image-tag';
|
||||
import Input from './model/input';
|
||||
import BuildParameters from './model/build-parameters';
|
||||
import { Action, Docker, Input, ImageTag, BuildParameters } from './model';
|
||||
|
||||
const core = require('@actions/core');
|
||||
|
||||
|
||||
8
src/model/index.js
Normal file
8
src/model/index.js
Normal file
@@ -0,0 +1,8 @@
|
||||
import Action from './action';
|
||||
import BuildParameters from './build-parameters';
|
||||
import Docker from './docker';
|
||||
import Input from './input';
|
||||
import ImageTag from './image-tag';
|
||||
import Platform from './platform';
|
||||
|
||||
export { Action, BuildParameters, Docker, Input, ImageTag, Platform };
|
||||
@@ -7,7 +7,7 @@ class Input {
|
||||
// Input variables specified in workflows using "with" prop.
|
||||
const unityVersion = core.getInput('unityVersion');
|
||||
const targetPlatform = core.getInput('targetPlatform') || Platform.default;
|
||||
const projectPath = core.getInput('projectPath');
|
||||
const projectPath = core.getInput('projectPath') || '.';
|
||||
const buildName = core.getInput('buildName') || targetPlatform;
|
||||
const buildsPath = core.getInput('buildsPath') || 'build';
|
||||
const buildMethod = core.getInput('buildMethod'); // processed in docker file
|
||||
|
||||
Reference in New Issue
Block a user